Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 8a93bda4e2a6743147a5efcb320b66d92dcb4f85..4ee91434c7f0f8f66ab0f9429c53d3f8a759f967 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -102,14 +102,16 @@ class LCodeGen; |
V(InstructionGap) \ |
V(Integer32ToDouble) \ |
V(InvokeFunction) \ |
+ V(IsConstructCall) \ |
+ V(IsConstructCallAndBranch) \ |
V(IsNull) \ |
V(IsNullAndBranch) \ |
V(IsObject) \ |
V(IsObjectAndBranch) \ |
V(IsSmi) \ |
V(IsSmiAndBranch) \ |
- V(IsConstructCall) \ |
- V(IsConstructCallAndBranch) \ |
+ V(IsUndetectable) \ |
+ V(IsUndetectableAndBranch) \ |
V(JSArrayLength) \ |
V(Label) \ |
V(LazyBailout) \ |
@@ -743,6 +745,31 @@ class LIsSmiAndBranch: public LControlInstruction<1, 0> { |
}; |
+class LIsUndetectable: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LIsUndetectable(LOperand* value) { |
+ inputs_[0] = value; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(IsUndetectable, "is-undetectable") |
+ DECLARE_HYDROGEN_ACCESSOR(IsUndetectable) |
+}; |
+ |
+ |
+class LIsUndetectableAndBranch: public LControlInstruction<1, 1> { |
+ public: |
+ explicit LIsUndetectableAndBranch(LOperand* value, LOperand* temp) { |
+ inputs_[0] = value; |
+ temps_[0] = temp; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(IsUndetectableAndBranch, |
+ "is-undetectable-and-branch") |
+ |
+ virtual void PrintDataTo(StringStream* stream); |
+}; |
+ |
+ |
class LHasInstanceType: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LHasInstanceType(LOperand* value) { |