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

Unified Diff: src/code-factory.h

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.h
diff --git a/src/code-factory.h b/src/code-factory.h
index 6be3265cfd77f631d60adf811ceef8095d9aa901..033e5d54fbb3a6835b20a5f0a7ce0c050b56e01e 100644
--- a/src/code-factory.h
+++ b/src/code-factory.h
@@ -64,6 +64,7 @@ class V8_EXPORT_PRIVATE CodeFactory final {
// Code stubs. Add methods here as needed to reduce dependency on
// code-stubs.h.
static Callable InstanceOf(Isolate* isolate);
+ static Callable OrdinaryHasInstance(Isolate* isolate);
static Callable StringFromCharCode(Isolate* isolate);

Powered by Google App Engine
This is Rietveld 408576698