Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 76c90be8c19ccb29ea5852403017198786d45201..f6f6b77a014183665e3913cdc2b71ff383cbb867 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -103,6 +103,7 @@ class LCodeGen; |
V(HasCachedArrayIndexAndBranch) \ |
V(HasInstanceType) \ |
V(HasInstanceTypeAndBranch) \ |
+ V(In) \ |
V(InstanceOf) \ |
V(InstanceOfAndBranch) \ |
V(InstanceOfKnownGlobal) \ |
@@ -2045,6 +2046,20 @@ class LStackCheck: public LTemplateInstruction<0, 0, 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 LChunkBuilder; |
class LChunk: public ZoneObject { |
public: |