Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 9bd8b711c1b0633911da0b5bd0c87ca5c41190c7..ac9cffac82baf4f914cef67d3a6ffaae9bfe3632 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -82,6 +82,7 @@ class LCodeGen; |
V(ConstantI) \ |
V(ConstantS) \ |
V(ConstantT) \ |
+ V(ConstructDouble) \ |
V(Context) \ |
V(DateField) \ |
V(DebugBreak) \ |
@@ -90,6 +91,7 @@ class LCodeGen; |
V(DivByConstI) \ |
V(DivByPowerOf2I) \ |
V(DivI) \ |
+ V(DoubleBits) \ |
V(DoubleToI) \ |
V(DoubleToSmi) \ |
V(Drop) \ |
@@ -2525,6 +2527,33 @@ class LCheckNonSmi V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
}; |
+class LDoubleBits V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LDoubleBits(LOperand* value) { |
+ inputs_[0] = value; |
+ } |
+ |
+ LOperand* value() { return inputs_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") |
+ DECLARE_HYDROGEN_ACCESSOR(DoubleBits) |
+}; |
+ |
+ |
+class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LConstructDouble(LOperand* hi, LOperand* lo) { |
+ inputs_[0] = hi; |
+ inputs_[1] = lo; |
+ } |
+ |
+ LOperand* hi() { return inputs_[0]; } |
+ LOperand* lo() { return inputs_[1]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double") |
+}; |
+ |
+ |
class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 1> { |
public: |
LAllocate(LOperand* context, LOperand* size, LOperand* temp) { |