Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index ce4e94451448fe2cd831edd0ce6b1b83d7a44918..3a61ef02d223770d8d7a40dbc6571e6d8d897e86 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -101,6 +101,7 @@ namespace internal { |
V(LoadIC) \ |
/* TurboFanCodeStubs */ \ |
V(StringLength) \ |
+ V(StrictEqual) \ |
V(ToBoolean) \ |
/* IC Handler stubs */ \ |
V(ArrayBufferViewLoadField) \ |
@@ -631,6 +632,16 @@ class StringLengthStub : public TurboFanCodeStub { |
DEFINE_CODE_STUB(StringLength, TurboFanCodeStub); |
}; |
+class StrictEqualStub final : public TurboFanCodeStub { |
+ public: |
+ explicit StrictEqualStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ void GenerateAssembly(compiler::CodeStubAssembler* assembler) const final; |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(Compare); |
+ DEFINE_CODE_STUB(StrictEqual, TurboFanCodeStub); |
+}; |
+ |
class ToBooleanStub final : public TurboFanCodeStub { |
public: |
explicit ToBooleanStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |