diff options
author | 2014-11-12 18:08:09 +0000 | |
---|---|---|
committer | 2014-11-14 13:45:02 +0000 | |
commit | af07bc121121d7bd7e8329c55dfe24782207b561 (patch) | |
tree | 51e93225aa77c3949a63104f8d48e4b6f6fb2b5b /compiler/optimizing/instruction_simplifier.h | |
parent | d0d805bad888857fe974142cbf3292b9747daae3 (diff) |
Minor object store optimizations.
- Avoid emitting write barrier when the value is null.
- Do not do a typecheck on an arraystore when storing something that
was loaded from the same array.
Change-Id: I902492928692e4553b5af0fc99cce3c2186c442a
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.h')
-rw-r--r-- | compiler/optimizing/instruction_simplifier.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/instruction_simplifier.h b/compiler/optimizing/instruction_simplifier.h index d74b624518..3844d57439 100644 --- a/compiler/optimizing/instruction_simplifier.h +++ b/compiler/optimizing/instruction_simplifier.h @@ -33,6 +33,7 @@ class InstructionSimplifier : public HGraphVisitor { private: virtual void VisitSuspendCheck(HSuspendCheck* check) OVERRIDE; virtual void VisitEqual(HEqual* equal) OVERRIDE; + virtual void VisitArraySet(HArraySet* equal) OVERRIDE; }; } // namespace art |