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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 11270013: Fix deoptimzation bug in hoisting smi operation out of loops. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: more test cases Created 8 years, 2 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') | tests/language/deopt_smi_op.dart » ('j') | 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 14014)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -1560,7 +1560,7 @@
ASSERT(left == result);
Label* deopt = NULL;
if (CanDeoptimize()) {
- deopt = compiler->AddDeoptStub(instance_call()->deopt_id(),
+ deopt = compiler->AddDeoptStub(deopt_id(),
kDeoptBinarySmiOp);
}
@@ -1727,7 +1727,7 @@
__ pushq(temp);
__ pushq(right);
compiler->GenerateStaticCall(
- instance_call()->deopt_id(),
+ deopt_id(),
instance_call()->token_pos(),
target,
kArgumentCount,
@@ -1941,7 +1941,7 @@
ASSERT(value == locs()->out().reg());
switch (op_kind()) {
case Token::kNEGATE: {
- Label* deopt = compiler->AddDeoptStub(instance_call()->deopt_id(),
+ Label* deopt = compiler->AddDeoptStub(deopt_id(),
kDeoptUnaryOp);
__ negq(value);
__ j(OVERFLOW, deopt);
« no previous file with comments | « runtime/vm/intermediate_language_ia32.cc ('k') | tests/language/deopt_smi_op.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698