Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 73c46a4403b8a72ddad67077012c8624d33d9608..cb015fd0eca8335a4e6374b3cb4f858817c7b3e7 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -110,10 +110,11 @@ class LChunkBuilder; |
V(InstanceOf) \ |
V(InstanceOfKnownGlobal) \ |
V(InvokeFunction) \ |
+ V(IsConstructCall) \ |
V(IsNull) \ |
V(IsObject) \ |
V(IsSmi) \ |
- V(IsConstructCall) \ |
+ V(IsUndetectable) \ |
V(JSArrayLength) \ |
V(LeaveInlined) \ |
V(LoadContextSlot) \ |
@@ -2465,6 +2466,17 @@ class HIsSmi: public HUnaryPredicate { |
}; |
+class HIsUndetectable: public HUnaryPredicate { |
+ public: |
+ explicit HIsUndetectable(HValue* value) : HUnaryPredicate(value) { } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(IsUndetectable) |
+ |
+ protected: |
+ virtual bool DataEquals(HValue* other) { return true; } |
+}; |
+ |
+ |
class HIsConstructCall: public HTemplateInstruction<0> { |
public: |
HIsConstructCall() { |