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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10632010: Fix excessive deoptimizations in Meteor: kSHL on two Smi-s can easily overflow, which led to deopti… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « runtime/vm/intermediate_language_ia32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_x64.cc
===================================================================
--- runtime/vm/intermediate_language_x64.cc (revision 8998)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -1759,7 +1759,7 @@
Label* deopt = compiler->AddDeoptStub(instance_call()->cid(),
instance_call()->token_index(),
instance_call()->try_index(),
- kDeoptSmiBinaryOp,
+ kDeoptUnaryOp,
value);
if (test_class_id == kSmi) {
__ testq(value, Immediate(kSmiTagMask));
@@ -1812,7 +1812,7 @@
Label* deopt = compiler->AddDeoptStub(instance_call()->cid(),
instance_call()->token_index(),
instance_call()->try_index(),
- kDeoptSmiBinaryOp,
+ kDeoptUnaryOp,
value);
if (test_class_id == kDouble) {
Register temp = locs()->temp(0).reg();
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698