diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-10-22 16:07:05 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-10-29 13:01:48 +0000 |
commit | 19a19cffd197a28ae4c9c3e59eff6352fd392241 (patch) | |
tree | 265b971afd0e33afc8986317aea2f5a6fe817aec /compiler/optimizing/code_generator_x86_64.h | |
parent | 7c049c1f34220b0dc1a7f68f3b30f388bae7bdb9 (diff) | |
download | art-19a19cffd197a28ae4c9c3e59eff6352fd392241.tar.gz art-19a19cffd197a28ae4c9c3e59eff6352fd392241.tar.bz2 art-19a19cffd197a28ae4c9c3e59eff6352fd392241.zip |
Add support for static fields in optimizing compiler.
Change-Id: Id2f010589e2bd6faf42c05bb33abf6816ebe9fa9
Diffstat (limited to 'compiler/optimizing/code_generator_x86_64.h')
-rw-r--r-- | compiler/optimizing/code_generator_x86_64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/code_generator_x86_64.h b/compiler/optimizing/code_generator_x86_64.h index e04a8d8ab9..32d2702d72 100644 --- a/compiler/optimizing/code_generator_x86_64.h +++ b/compiler/optimizing/code_generator_x86_64.h @@ -123,8 +123,6 @@ class InstructionCodeGeneratorX86_64 : public HGraphVisitor { #undef DECLARE_VISIT_INSTRUCTION - void LoadCurrentMethod(CpuRegister reg); - X86_64Assembler* GetAssembler() const { return assembler_; } private: @@ -192,6 +190,8 @@ class CodeGeneratorX86_64 : public CodeGenerator { // Helper method to move a value between two locations. void Move(Location destination, Location source); + void LoadCurrentMethod(CpuRegister reg); + Label* GetLabelOf(HBasicBlock* block) const { return block_labels_.GetRawStorage() + block->GetBlockId(); } |