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

Unified Diff: src/code-factory.cc

Issue 2511223003: [turbofan] Properly optimize instanceof (even in the presence of @@hasInstance). (Closed)
Patch Set: Created 4 years, 1 month 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/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index b6eb1744d4b8d82beea997d6b561a76a54205ebd..128c7099981d4b41495f8e3a2950f397c777454e 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -254,8 +254,11 @@ TFS_BUILTIN(ToLength)
TFS_BUILTIN(ToObject)
TFS_BUILTIN(Typeof)
TFS_BUILTIN(InstanceOf)
+TFS_BUILTIN(OrdinaryHasInstance)
TFS_BUILTIN(ForInFilter)
+#undef TFS_BUILTIN
+
// static
Callable CodeFactory::Inc(Isolate* isolate) {
IncStub stub(isolate);

Powered by Google App Engine
This is Rietveld 408576698