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

Unified Diff: src/compiler/ast-graph-builder.cc

Issue 2365223003: Revert of [compiler] Properly guard the speculative optimizations for instanceof. (Closed)
Patch Set: Created 4 years, 3 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 | « src/code-stubs.cc ('k') | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
index 926442e40eb79522bfd3bbda673151a1c23c37ca..68cf58905f87e1f62e0d2186409657ba29861d39 100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -2826,12 +2826,9 @@
case Token::GTE:
op = javascript()->GreaterThanOrEqual(hint);
break;
- case Token::INSTANCEOF: {
- VectorSlotPair feedback =
- CreateVectorSlotPair(expr->CompareOperationFeedbackSlot());
- op = javascript()->InstanceOf(feedback);
- break;
- }
+ case Token::INSTANCEOF:
+ op = javascript()->InstanceOf();
+ break;
case Token::IN:
op = javascript()->HasProperty();
break;
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698