Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 267bf44a4b8389387644d3331d29901a5d28d719..6878d6a34e7903332caed12030ce9167d385c8b0 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -77,10 +77,12 @@ class LCodeGen; |
V(CmpIDAndBranch) \ |
V(CmpJSObjectEq) \ |
V(CmpJSObjectEqAndBranch) \ |
+ V(CmpMapAndBranch) \ |
V(CmpSymbolEq) \ |
V(CmpSymbolEqAndBranch) \ |
- V(CmpMapAndBranch) \ |
V(CmpT) \ |
+ V(CmpConstantEq) \ |
+ V(CmpConstantEqAndBranch) \ |
V(ConstantD) \ |
V(ConstantI) \ |
V(ConstantT) \ |
@@ -89,6 +91,7 @@ class LCodeGen; |
V(Deoptimize) \ |
V(DivI) \ |
V(DoubleToI) \ |
+ V(ElementsKind) \ |
V(ExternalArrayLength) \ |
V(FixedArrayLength) \ |
V(FunctionLiteral) \ |
@@ -664,6 +667,29 @@ class LCmpSymbolEqAndBranch: public LControlInstruction<2, 0> { |
}; |
+class LCmpConstantEq: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LCmpConstantEq(LOperand* left) { |
+ inputs_[0] = left; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(CmpConstantEq, "cmp-constant-eq") |
+ DECLARE_HYDROGEN_ACCESSOR(CompareConstantEq) |
+}; |
+ |
+ |
+class LCmpConstantEqAndBranch: public LControlInstruction<1, 0> { |
+ public: |
+ explicit LCmpConstantEqAndBranch(LOperand* left) { |
+ inputs_[0] = left; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch, |
+ "cmp-constant-eq-and-branch") |
+ DECLARE_HYDROGEN_ACCESSOR(CompareConstantEq) |
+}; |
+ |
+ |
class LIsNull: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LIsNull(LOperand* value) { |
@@ -1078,6 +1104,17 @@ class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { |
}; |
+class LElementsKind: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LElementsKind(LOperand* value) { |
+ inputs_[0] = value; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") |
+ DECLARE_HYDROGEN_ACCESSOR(ElementsKind) |
+}; |
+ |
+ |
class LValueOf: public LTemplateInstruction<1, 1, 1> { |
public: |
LValueOf(LOperand* value, LOperand* temp) { |