Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 061a305354e4aafe4107a3a39dca8651692759a0..200d5f5e93da9f8812a72fc40a6b2a269366ba58 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -92,6 +92,7 @@ class LCodeGen; |
V(DeclareGlobals) \ |
V(DeleteProperty) \ |
V(Deoptimize) \ |
+ V(DeoptimizeIfTaggedIsNotSmi) \ |
V(DivI) \ |
V(DoubleToI) \ |
V(DummyUse) \ |
@@ -2143,6 +2144,19 @@ class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
}; |
+class LDeoptimizeIfTaggedIsNotSmi: public LTemplateInstruction<0, 1, 0> { |
+ public: |
+ explicit LDeoptimizeIfTaggedIsNotSmi(LOperand* value) { |
+ inputs_[0] = value; |
+ } |
+ |
+ LOperand* value() { return inputs_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(DeoptimizeIfTaggedIsNotSmi, |
+ "deoptimize-if-tagged-is-not-smi") |
+}; |
+ |
+ |
class LClampDToUint8: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LClampDToUint8(LOperand* unclamped) { |