diff options
author | 2016-05-18 12:48:17 +0100 | |
---|---|---|
committer | 2016-05-18 12:48:17 +0100 | |
commit | fcb503cba92133b72e29ab48af1c7e92be91e609 (patch) | |
tree | 4a16a0f1e1b798692664bb1b347de060b3042170 /compiler/optimizing/nodes_arm64.h | |
parent | bd274fec102dc9652b6c3b7aef2e2401d27bb15b (diff) |
Mark concrete HIR instructions as FINAL.
This allows the compiler to apply more optimizations.
Change-Id: Ic7d8a457ea4e7d5853195cc4b56482703a1176d5
Diffstat (limited to 'compiler/optimizing/nodes_arm64.h')
-rw-r--r-- | compiler/optimizing/nodes_arm64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes_arm64.h b/compiler/optimizing/nodes_arm64.h index 173852a55d..737aece9c8 100644 --- a/compiler/optimizing/nodes_arm64.h +++ b/compiler/optimizing/nodes_arm64.h @@ -21,7 +21,7 @@ namespace art { -class HArm64DataProcWithShifterOp : public HExpression<2> { +class HArm64DataProcWithShifterOp FINAL : public HExpression<2> { public: enum OpKind { kLSL, // Logical shift left. @@ -97,7 +97,7 @@ std::ostream& operator<<(std::ostream& os, const HArm64DataProcWithShifterOp::Op // This instruction computes an intermediate address pointing in the 'middle' of an object. The // result pointer cannot be handled by GC, so extra care is taken to make sure that this value is // never used across anything that can trigger GC. -class HArm64IntermediateAddress : public HExpression<2> { +class HArm64IntermediateAddress FINAL : public HExpression<2> { public: HArm64IntermediateAddress(HInstruction* base_address, HInstruction* offset, uint32_t dex_pc) : HExpression(Primitive::kPrimNot, SideEffects::DependsOnGC(), dex_pc) { |