Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index a076c80c75189429af893a049c749549d41e0f3e..9020223ab23377c815079c07e60766c3c3c6a98c 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -153,6 +153,8 @@ class LCodeGen; |
V(Typeof) \ |
V(TypeofIs) \ |
V(TypeofIsAndBranch) \ |
+ V(IsConstructCall) \ |
+ V(IsConstructCallAndBranch) \ |
V(UnaryMathOperation) \ |
V(UnknownOSRValue) \ |
V(ValueOf) |
@@ -1716,6 +1718,29 @@ class LTypeofIsAndBranch: public LControlInstruction<1, 0> { |
}; |
+class LIsConstructCall: public LTemplateInstruction<1, 0, 1> { |
+ public: |
+ explicit LIsConstructCall(LOperand* temp) { |
+ temps_[0] = temp; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(IsConstructCall, "is-construct-call") |
+ DECLARE_HYDROGEN_ACCESSOR(IsConstructCall) |
+}; |
+ |
+ |
+class LIsConstructCallAndBranch: public LControlInstruction<0, 2> { |
+ public: |
+ LIsConstructCallAndBranch(LOperand* temp1, LOperand* temp2) { |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, |
+ "is-construct-call-and-branch") |
+}; |
+ |
+ |
class LDeleteProperty: public LTemplateInstruction<1, 2, 0> { |
public: |
LDeleteProperty(LOperand* obj, LOperand* key) { |