Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 74f48202db85274b5cb72d64304da1c887139bb8..d72487552f0dc425b3955197d970ecaff5ee83bc 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -102,6 +102,7 @@ class LCodeGen; |
V(HasCachedArrayIndexAndBranch) \ |
V(HasInstanceType) \ |
V(HasInstanceTypeAndBranch) \ |
+ V(In) \ |
V(InstanceOf) \ |
V(InstanceOfAndBranch) \ |
V(InstanceOfKnownGlobal) \ |
@@ -830,6 +831,20 @@ class LCmpTAndBranch: public LControlInstruction<2, 0> { |
}; |
+class LIn: public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LIn(LOperand* key, LOperand* object) { |
+ inputs_[0] = key; |
+ inputs_[1] = object; |
+ } |
+ |
+ LOperand* key() { return inputs_[0]; } |
+ LOperand* object() { return inputs_[1]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(In, "in") |
+}; |
+ |
+ |
class LInstanceOf: public LTemplateInstruction<1, 2, 0> { |
public: |
LInstanceOf(LOperand* left, LOperand* right) { |