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

Unified Diff: src/compiler/verifier.cc

Issue 2547043002: [Interpreter] Optimize equality check with null/undefined with a check on the map. (Closed)
Patch Set: Fixed a bug in reducing JSIsUndetectable. Created 4 years 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
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index 9088ab561489e3fb0e3ddb4c687639a62b0f049e..864fc1857eaadd70f1b018d21f4e1bde7015f3b0 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -506,6 +506,7 @@ void Verifier::Visitor::Check(Node* node) {
case IrOpcode::kJSGreaterThan:
case IrOpcode::kJSLessThanOrEqual:
case IrOpcode::kJSGreaterThanOrEqual:
+ case IrOpcode::kJSIsUndetectable:
// Type is Boolean.
CheckTypeIs(node, Type::Boolean());
break;

Powered by Google App Engine
This is Rietveld 408576698