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

Unified Diff: src/compiler/simplified-lowering.cc

Issue 2697063002: Fix typeof optimization for undetectable (Closed)
Patch Set: DetectableCallable TODO: renaming 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 | « no previous file | src/compiler/typer.cc » ('j') | src/compiler/types.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simplified-lowering.cc
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
index 0bcdc38841a1cc06517e9ce624791d0e66893f0c..0ce2f5b8142a7ed3f0475b3550a6995248d9571b 100644
--- a/src/compiler/simplified-lowering.cc
+++ b/src/compiler/simplified-lowering.cc
@@ -2522,7 +2522,7 @@ class RepresentationSelector {
return;
}
case IrOpcode::kObjectIsCallable: {
- VisitObjectIs(node, Type::Callable(), lowering);
+ VisitObjectIs(node, Type::DetectableCallable(), lowering);
return;
}
case IrOpcode::kObjectIsNonCallable: {
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | src/compiler/types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698