| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index 59f67cb05e44225382a081c167b960c946b488a0..e817e32ceb130c3753789864cbf7d19a7ccd92b8 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -89,7 +89,6 @@ REPLACE_BINARY_OP_IC_CALL(JSModulus, Token::MOD)
|
| }
|
| REPLACE_RUNTIME_CALL(JSEqual, Runtime::kEqual)
|
| REPLACE_RUNTIME_CALL(JSNotEqual, Runtime::kNotEqual)
|
| -REPLACE_RUNTIME_CALL(JSStrictEqual, Runtime::kStrictEqual)
|
| REPLACE_RUNTIME_CALL(JSStrictNotEqual, Runtime::kStrictNotEqual)
|
| REPLACE_RUNTIME_CALL(JSLessThan, Runtime::kLessThan)
|
| REPLACE_RUNTIME_CALL(JSGreaterThan, Runtime::kGreaterThan)
|
| @@ -100,6 +99,15 @@ REPLACE_RUNTIME_CALL(JSCreateModuleContext, Runtime::kPushModuleContext)
|
| REPLACE_RUNTIME_CALL(JSConvertReceiver, Runtime::kConvertReceiver)
|
| #undef REPLACE_RUNTIME_CALL
|
|
|
| +#define REPLACE_STUB_CALL(Op, Stub) \
|
| + void JSGenericLowering::Lower##Op(Node* node) { \
|
| + CallDescriptor::Flags flags = AdjustFrameStatesForCall(node); \
|
| + Callable callable = CodeFactory::Stub(isolate()); \
|
| + ReplaceWithStubCall(node, callable, flags); \
|
| + }
|
| +REPLACE_STUB_CALL(JSStrictEqual, StrictEqual)
|
| +#undef REPLACE_STUB_CALL
|
| +
|
| void JSGenericLowering::ReplaceWithStubCall(Node* node, Callable callable,
|
| CallDescriptor::Flags flags) {
|
| Operator::Properties properties = node->op()->properties();
|
|
|