Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index ac64f460f29ad4b7f492a71554ce6333b0fb321c..f9799f570a295223faae5b4aab0ccdbf94634b10 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -134,6 +134,13 @@ void JSGenericLowering::LowerJSStrictNotEqual(Node* node) { |
Operator::kEliminatable); |
} |
+void JSGenericLowering::LowerJSSameValueZero(Node* node) { |
+ Callable callable = CodeFactory::SameValueZero(isolate()); |
+ node->AppendInput(zone(), graph()->start()); |
+ ReplaceWithStubCall(node, callable, CallDescriptor::kNoFlags, |
+ Operator::kEliminatable); |
+} |
+ |
void JSGenericLowering::LowerJSToBoolean(Node* node) { |
Callable callable = CodeFactory::ToBoolean(isolate()); |
node->AppendInput(zone(), graph()->start()); |