Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index c56bbfeb3d461e2a2621e3228431a51cc4db3d9c..67309d2082182b90a1dc4e074e131b703c7bfdc4 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -80,6 +80,8 @@ class LCodeGen; |
V(CmpJSObjectEq) \ |
V(CmpJSObjectEqAndBranch) \ |
V(CmpMapAndBranch) \ |
+ V(CmpSymbolEq) \ |
+ V(CmpSymbolEqAndBranch) \ |
V(CmpT) \ |
V(CmpTAndBranch) \ |
V(ConstantD) \ |
@@ -664,6 +666,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) { |