summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes_x86.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2016-06-07 14:20:52 +0100
committer David Brazdil <dbrazdil@google.com> 2016-06-07 14:49:18 +0100
commitd6c205eb9b04bcfa072cd5ffdd93deef167ec340 (patch)
treeba2d71a03b266e317fe7278d1136098cb890dfee /compiler/optimizing/nodes_x86.h
parentf1c25cf31d29c70b5102b249344bea76c374ecd8 (diff)
ART: Remove redundant MoveInstructionBefore method
Change-Id: If53d7011197cc6b9c1702a3d98ef11b59eb76f0c
Diffstat (limited to 'compiler/optimizing/nodes_x86.h')
-rw-r--r--compiler/optimizing/nodes_x86.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes_x86.h b/compiler/optimizing/nodes_x86.h
index c3696b5936..fa479760fe 100644
--- a/compiler/optimizing/nodes_x86.h
+++ b/compiler/optimizing/nodes_x86.h
@@ -26,6 +26,8 @@ class HX86ComputeBaseMethodAddress FINAL : public HExpression<0> {
HX86ComputeBaseMethodAddress()
: HExpression(Primitive::kPrimInt, SideEffects::None(), kNoDexPc) {}
+ bool CanBeMoved() const OVERRIDE { return true; }
+
DECLARE_INSTRUCTION(X86ComputeBaseMethodAddress);
private: