summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes_x86.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2016-01-28 15:48:32 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-01-28 15:48:32 +0000
commit75fd2a8ab9b4aff59308034da26eb4986d10fa9e (patch)
tree6685693728a44eb1a1424ea836401397618d91a3 /compiler/optimizing/nodes_x86.h
parent2d36c0ced12435e8dbc216c4ee4ebf32dbe19669 (diff)
parentb3e773eea39a156b3eacf915ba84e3af1a5c14fa (diff)
Merge "ART: Implement support for instruction inlining"
Diffstat (limited to 'compiler/optimizing/nodes_x86.h')
-rw-r--r--compiler/optimizing/nodes_x86.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/compiler/optimizing/nodes_x86.h b/compiler/optimizing/nodes_x86.h
index 556217bf74..b1bf939b36 100644
--- a/compiler/optimizing/nodes_x86.h
+++ b/compiler/optimizing/nodes_x86.h
@@ -36,16 +36,12 @@ class HX86ComputeBaseMethodAddress : public HExpression<0> {
class HX86LoadFromConstantTable : public HExpression<2> {
public:
HX86LoadFromConstantTable(HX86ComputeBaseMethodAddress* method_base,
- HConstant* constant,
- bool needs_materialization = true)
- : HExpression(constant->GetType(), SideEffects::None(), kNoDexPc),
- needs_materialization_(needs_materialization) {
+ HConstant* constant)
+ : HExpression(constant->GetType(), SideEffects::None(), kNoDexPc) {
SetRawInputAt(0, method_base);
SetRawInputAt(1, constant);
}
- bool NeedsMaterialization() const { return needs_materialization_; }
-
HX86ComputeBaseMethodAddress* GetBaseMethodAddress() const {
return InputAt(0)->AsX86ComputeBaseMethodAddress();
}
@@ -57,8 +53,6 @@ class HX86LoadFromConstantTable : public HExpression<2> {
DECLARE_INSTRUCTION(X86LoadFromConstantTable);
private:
- const bool needs_materialization_;
-
DISALLOW_COPY_AND_ASSIGN(HX86LoadFromConstantTable);
};