Index: src/arm/lithium-arm.h |
=================================================================== |
--- src/arm/lithium-arm.h (revision 7683) |
+++ src/arm/lithium-arm.h (working copy) |
@@ -102,6 +102,7 @@ |
V(HasCachedArrayIndexAndBranch) \ |
V(HasInstanceType) \ |
V(HasInstanceTypeAndBranch) \ |
+ V(In) \ |
V(InstanceOf) \ |
V(InstanceOfAndBranch) \ |
V(InstanceOfKnownGlobal) \ |
@@ -1992,6 +1993,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: |