diff options
Diffstat (limited to 'compiler/optimizing/nodes_x86.h')
-rw-r--r-- | compiler/optimizing/nodes_x86.h | 10 |
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); }; |