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

Unified Diff: src/compiler/verifier.cc

Issue 2697063002: Fix typeof optimization for undetectable (Closed)
Patch Set: Add TypeOfIsFunction to EscapeStatusAnalysis 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
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index 90b3f133bea2f79aec2fcd2a4e792683deb726c5..ebc84fcfea83759dc33e91851a510d3898b655f3 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -955,6 +955,7 @@ void Verifier::Visitor::Check(Node* node) {
case IrOpcode::kObjectIsString:
case IrOpcode::kObjectIsUndetectable:
case IrOpcode::kArrayBufferWasNeutered:
+ case IrOpcode::kTypeOfIsFunction:
CheckValueInputIs(node, 0, Type::Any());
CheckTypeIs(node, Type::Boolean());
break;

Powered by Google App Engine
This is Rietveld 408576698