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

Unified Diff: src/compiler/js-operator.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/compiler/js-operator.h
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h
index 92ab9a7ba20f19f4be72df73a154c67eb4df8b9e..9cdd30594ada995fa3d6ee0ab634bfe59440aede 100644
--- a/src/compiler/js-operator.h
+++ b/src/compiler/js-operator.h
@@ -508,6 +508,7 @@ class V8_EXPORT_PRIVATE JSOperatorBuilder final
const Operator* TypeOf();
const Operator* InstanceOf();
+ const Operator* OrdinaryHasInstance();
const Operator* ForInNext();
const Operator* ForInPrepare();

Powered by Google App Engine
This is Rietveld 408576698