Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: src/compiler/js-generic-lowering.cc

Issue 2727003006: [turbofan] Drop obsolete unused JSStrictNotEqual operator. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/js-operator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-generic-lowering.cc
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
index 79a3377462883504f9df2589df1b61ea031f48a8..6acb50cc4c45380d061b0bce7a96983efc9641d9 100644
--- a/src/compiler/js-generic-lowering.cc
+++ b/src/compiler/js-generic-lowering.cc
@@ -127,15 +127,6 @@ void JSGenericLowering::LowerJSStrictEqual(Node* node) {
Operator::kEliminatable);
}
-void JSGenericLowering::LowerJSStrictNotEqual(Node* node) {
- // The !== operator doesn't need the current context.
- NodeProperties::ReplaceContextInput(node, jsgraph()->NoContextConstant());
- Callable callable = CodeFactory::StrictNotEqual(isolate());
- node->RemoveInput(4); // control
- ReplaceWithStubCall(node, callable, CallDescriptor::kNoFlags,
- Operator::kEliminatable);
-}
-
void JSGenericLowering::LowerJSToBoolean(Node* node) {
// The ToBoolean conversion doesn't need the current context.
NodeProperties::ReplaceContextInput(node, jsgraph()->NoContextConstant());
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/js-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698