diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-07-23 16:04:16 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-07-28 15:44:28 +0100 |
commit | 3c7bb98698f77af10372cf31824d3bb115d9bf0f (patch) | |
tree | 1cd4cc18babfbb16ab908f23929fa88d7678f06b /compiler/optimizing/builder.h | |
parent | 98cc1e552c2ccbe5d51bc81d49e79119280f5416 (diff) | |
download | art-3c7bb98698f77af10372cf31824d3bb115d9bf0f.tar.gz art-3c7bb98698f77af10372cf31824d3bb115d9bf0f.tar.bz2 art-3c7bb98698f77af10372cf31824d3bb115d9bf0f.zip |
Implement array get and array put in optimizing.
Also fix a couple of assembler/disassembler issues.
Change-Id: I705c8572988c1a9c4df3172b304678529636d5f6
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r-- | compiler/optimizing/builder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index f94b8e810..170c42761 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -93,6 +93,10 @@ class HGraphBuilder : public ValueObject { void BuildReturn(const Instruction& instruction, Primitive::Type type); bool BuildFieldAccess(const Instruction& instruction, uint32_t dex_offset, bool is_get); + void BuildArrayAccess(const Instruction& instruction, + uint32_t dex_offset, + bool is_get, + Primitive::Type anticipated_type); // Builds an invocation node and returns whether the instruction is supported. bool BuildInvoke(const Instruction& instruction, |