Index: src/arm/lithium-arm.h |
=================================================================== |
--- src/arm/lithium-arm.h (revision 6167) |
+++ src/arm/lithium-arm.h (working copy) |
@@ -62,6 +62,7 @@ |
// LDivI |
// LInstanceOf |
// LInstanceOfAndBranch |
+// LInstanceOfKnownGlobal |
// LLoadKeyedFastElement |
// LLoadKeyedGeneric |
// LModI |
@@ -204,6 +205,7 @@ |
V(Goto) \ |
V(InstanceOf) \ |
V(InstanceOfAndBranch) \ |
+ V(InstanceOfKnownGlobal) \ |
V(Integer32ToDouble) \ |
V(IsNull) \ |
V(IsNullAndBranch) \ |
@@ -993,6 +995,19 @@ |
}; |
+class LInstanceOfKnownGlobal: public LUnaryOperation { |
+ public: |
+ explicit LInstanceOfKnownGlobal(LOperand* left) |
+ : LUnaryOperation(left) { } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(InstanceOfKnownGlobal, |
+ "instance-of-known-global") |
+ DECLARE_HYDROGEN_ACCESSOR(InstanceOfKnownGlobal) |
+ |
+ Handle<JSFunction> function() const { return hydrogen()->function(); } |
+}; |
+ |
+ |
class LBoundsCheck: public LBinaryOperation { |
public: |
LBoundsCheck(LOperand* index, LOperand* length) |