diff options
author | Alexandre Rames <alexandre.rames@arm.com> | 2015-04-15 11:47:56 +0100 |
---|---|---|
committer | Alexandre Rames <alexandre.rames@arm.com> | 2015-04-20 14:45:01 +0100 |
commit | 09a99965bb27649f5b1d373f76bfbec6a2500c9e (patch) | |
tree | a1584b26a5b6f3dee692d0b21373de27734c965f /compiler/optimizing/code_generator_arm64.h | |
parent | 2e0f89b1b61685f7c322a4c6ec3e3b4839e76d64 (diff) | |
download | android_art-09a99965bb27649f5b1d373f76bfbec6a2500c9e.tar.gz android_art-09a99965bb27649f5b1d373f76bfbec6a2500c9e.tar.bz2 android_art-09a99965bb27649f5b1d373f76bfbec6a2500c9e.zip |
Opt compiler: ARM64: Follow other archs for a few codegen stubs.
Code generation for HInstanceFieldGet, HInstanceFieldSet,
HStaticFieldGet, and HStaticFieldSet are refactored to follow the
structure used for other backends.
Change-Id: I34a3bd17effa042238c6bf199848cbc2ec26ac5d
Diffstat (limited to 'compiler/optimizing/code_generator_arm64.h')
-rw-r--r-- | compiler/optimizing/code_generator_arm64.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_arm64.h b/compiler/optimizing/code_generator_arm64.h index 07c6dd059a..9fe60b8adc 100644 --- a/compiler/optimizing/code_generator_arm64.h +++ b/compiler/optimizing/code_generator_arm64.h @@ -159,6 +159,8 @@ class InstructionCodeGeneratorARM64 : public HGraphVisitor { void GenerateMemoryBarrier(MemBarrierKind kind); void GenerateSuspendCheck(HSuspendCheck* instruction, HBasicBlock* successor); void HandleBinaryOp(HBinaryOperation* instr); + void HandleFieldSet(HInstruction* instruction, const FieldInfo& field_info); + void HandleFieldGet(HInstruction* instruction, const FieldInfo& field_info); void HandleShift(HBinaryOperation* instr); void GenerateImplicitNullCheck(HNullCheck* instruction); void GenerateExplicitNullCheck(HNullCheck* instruction); @@ -185,8 +187,10 @@ class LocationsBuilderARM64 : public HGraphVisitor { private: void HandleBinaryOp(HBinaryOperation* instr); - void HandleShift(HBinaryOperation* instr); + void HandleFieldSet(HInstruction* instruction); + void HandleFieldGet(HInstruction* instruction); void HandleInvoke(HInvoke* instr); + void HandleShift(HBinaryOperation* instr); CodeGeneratorARM64* const codegen_; InvokeDexCallingConventionVisitor parameter_visitor_; |