Index: src/ia32/lithium-ia32.h |
=================================================================== |
--- src/ia32/lithium-ia32.h (revision 6672) |
+++ src/ia32/lithium-ia32.h (working copy) |
@@ -941,8 +941,12 @@ |
}; |
-class LConstantD: public LTemplateInstruction<1, 0, 0> { |
+class LConstantD: public LTemplateInstruction<1, 0, 1> { |
public: |
+ explicit LConstantD(LOperand* temp) { |
+ temps_[0] = temp; |
+ } |
+ |
DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
DECLARE_HYDROGEN_ACCESSOR(Constant) |