summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes_x86.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2025-01-14 09:13:32 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2025-01-22 01:19:58 -0800
commit6d6d26f1febbfe50abe7eec7e8496375532369b9 (patch)
tree4b5b35b40daf4eaa61d05b05dcc94ec8fed557a7 /compiler/optimizing/nodes_x86.h
parent8d38ee1b7abefff2de3da7492ebee4cd468868a3 (diff)
Optimizing: Allow moving `HCondition` to use site.
Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 358519867 Change-Id: I5b49f27c09582dc42eba8b6650a7032fad0ff14d
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 71c4f7aeeb..491045de99 100644
--- a/compiler/optimizing/nodes_x86.h
+++ b/compiler/optimizing/nodes_x86.h
@@ -59,6 +59,8 @@ class HX86LoadFromConstantTable final : public HExpression<2> {
return InputAt(1)->AsConstant();
}
+ bool CanBeMoved() const override { return true; }
+
DECLARE_INSTRUCTION(X86LoadFromConstantTable);
protected: