Index: src/hydrogen-instructions.h |
=================================================================== |
--- src/hydrogen-instructions.h (revision 5982) |
+++ src/hydrogen-instructions.h (working copy) |
@@ -140,6 +140,7 @@ |
// HHasCachedArrayIndex |
// HHasInstanceType |
// HIsNull |
+// HIsObject |
// HIsSmi |
// HValueOf |
// HUnknownOSRValue |
@@ -208,6 +209,7 @@ |
V(Goto) \ |
V(InstanceOf) \ |
V(IsNull) \ |
+ V(IsObject) \ |
V(IsSmi) \ |
V(HasInstanceType) \ |
V(HasCachedArrayIndex) \ |
@@ -2096,6 +2098,14 @@ |
}; |
+class HIsObject: public HUnaryPredicate { |
+ public: |
+ explicit HIsObject(HValue* value) : HUnaryPredicate(value) { } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(IsObject, "is_object") |
+}; |
+ |
+ |
class HIsSmi: public HUnaryPredicate { |
public: |
explicit HIsSmi(HValue* value) : HUnaryPredicate(value) { } |