diff options
| author | 2014-10-29 13:02:55 +0000 | |
|---|---|---|
| committer | 2014-10-29 13:02:56 +0000 | |
| commit | cc4337139de2786bb9038789fb8e3f93697c191c (patch) | |
| tree | 265b971afd0e33afc8986317aea2f5a6fe817aec /compiler/optimizing/builder.h | |
| parent | 7c049c1f34220b0dc1a7f68f3b30f388bae7bdb9 (diff) | |
| parent | 19a19cffd197a28ae4c9c3e59eff6352fd392241 (diff) | |
Merge "Add support for static fields in optimizing compiler."
Diffstat (limited to 'compiler/optimizing/builder.h')
| -rw-r--r-- | compiler/optimizing/builder.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index b55ef0764a..eea762f834 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -118,7 +118,12 @@ class HGraphBuilder : public ValueObject { void BuildReturn(const Instruction& instruction, Primitive::Type type); - bool BuildFieldAccess(const Instruction& instruction, uint32_t dex_offset, bool is_get); + // Builds an instance field access node and returns whether the instruction is supported. + bool BuildInstanceFieldAccess(const Instruction& instruction, uint32_t dex_offset, bool is_put); + + // Builds a static field access node and returns whether the instruction is supported. + bool BuildStaticFieldAccess(const Instruction& instruction, uint32_t dex_offset, bool is_put); + void BuildArrayAccess(const Instruction& instruction, uint32_t dex_offset, bool is_get, |