Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index e04fdd6ad18e0d2daab4360bd7e03c1254a8fa91..b8b25f221fd8aeed45ea02a0fc35d17fe49f26fc 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -80,6 +80,8 @@ class LCodeGen; |
V(CmpJSObjectEq) \ |
V(CmpJSObjectEqAndBranch) \ |
V(CmpMapAndBranch) \ |
+ V(CmpSymbolEq) \ |
+ V(CmpSymbolEqAndBranch) \ |
V(CmpT) \ |
V(CmpTAndBranch) \ |
V(ConstantD) \ |
@@ -681,6 +683,28 @@ class LCmpJSObjectEqAndBranch: public LControlInstruction<2, 0> { |
}; |
+class LCmpSymbolEq: public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LCmpSymbolEq(LOperand* left, LOperand* right) { |
+ inputs_[0] = left; |
+ inputs_[1] = right; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEq, "cmp-symbol-eq") |
+}; |
+ |
+ |
+class LCmpSymbolEqAndBranch: public LControlInstruction<2, 0> { |
+ public: |
+ LCmpSymbolEqAndBranch(LOperand* left, LOperand* right) { |
+ inputs_[0] = left; |
+ inputs_[1] = right; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEqAndBranch, "cmp-symbol-eq-and-branch") |
+}; |
+ |
+ |
class LIsNull: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LIsNull(LOperand* value) { |