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

Unified Diff: src/compiler/typer.cc

Issue 1518773003: Turbofan instanceof lowering needs to address proxies. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Missing typer rule. Created 5 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
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | test/mjsunit/es6/instanceof-proxies.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index ef0b88f3dcf558c4446368080cd41dea13697f86..6d2706ae67c711edccded7a104e0e7915461c867 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1581,6 +1581,8 @@ Type* Typer::Visitor::TypeJSCallRuntime(Node* node) {
return TypeUnaryOp(node, ToPrimitive);
case Runtime::kInlineToString:
return TypeUnaryOp(node, ToString);
+ case Runtime::kHasInPrototypeChain:
+ return Type::Boolean();
default:
break;
}
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | test/mjsunit/es6/instanceof-proxies.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698