Index: src/ia32/lithium-ia32.h |
=================================================================== |
--- src/ia32/lithium-ia32.h (revision 7683) |
+++ src/ia32/lithium-ia32.h (working copy) |
@@ -103,6 +103,7 @@ |
V(HasCachedArrayIndexAndBranch) \ |
V(HasInstanceType) \ |
V(HasInstanceTypeAndBranch) \ |
+ V(In) \ |
V(InstanceOf) \ |
V(InstanceOfAndBranch) \ |
V(InstanceOfKnownGlobal) \ |
@@ -2045,6 +2046,20 @@ |
}; |
+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: |