Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 1cad14eefb8c460bcb1868d801773d45293efbc4..f736fd5a719d37c1675fd831b9aaf738f398830f 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -103,6 +103,8 @@ namespace internal { |
V(LessThanOrEqual) \ |
V(GreaterThan) \ |
V(GreaterThanOrEqual) \ |
+ V(Equal) \ |
+ V(NotEqual) \ |
V(StrictEqual) \ |
V(StrictNotEqual) \ |
V(StringEqual) \ |
@@ -684,6 +686,22 @@ class GreaterThanOrEqualStub final : public TurboFanCodeStub { |
DEFINE_TURBOFAN_CODE_STUB(GreaterThanOrEqual, TurboFanCodeStub); |
}; |
+class EqualStub final : public TurboFanCodeStub { |
+ public: |
+ explicit EqualStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(Compare); |
+ DEFINE_TURBOFAN_CODE_STUB(Equal, TurboFanCodeStub); |
+}; |
+ |
+class NotEqualStub final : public TurboFanCodeStub { |
+ public: |
+ explicit NotEqualStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(Compare); |
+ DEFINE_TURBOFAN_CODE_STUB(NotEqual, TurboFanCodeStub); |
+}; |
+ |
class StrictEqualStub final : public TurboFanCodeStub { |
public: |
explicit StrictEqualStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |