summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes_arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/nodes_arm.h')
-rw-r--r--compiler/optimizing/nodes_arm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes_arm.h b/compiler/optimizing/nodes_arm.h
index 371e8ef6bb..d9f9740e73 100644
--- a/compiler/optimizing/nodes_arm.h
+++ b/compiler/optimizing/nodes_arm.h
@@ -26,6 +26,8 @@ class HArmDexCacheArraysBase FINAL : public HExpression<0> {
dex_file_(&dex_file),
element_offset_(static_cast<size_t>(-1)) { }
+ bool CanBeMoved() const OVERRIDE { return true; }
+
void UpdateElementOffset(size_t element_offset) {
// Use the lowest offset from the requested elements so that all offsets from
// this base are non-negative because our assemblers emit negative-offset loads