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

Unified Diff: runtime/vm/stub_code_ia32.cc

Issue 8972005: More optimizations cleanup. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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/opt_code_generator_ia32.cc ('k') | tests/language/src/OptimizationTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_ia32.cc
===================================================================
--- runtime/vm/stub_code_ia32.cc (revision 2547)
+++ runtime/vm/stub_code_ia32.cc (working copy)
@@ -1514,7 +1514,7 @@
__ cmpl(EAX, EDI); // Match?
__ j(EQUAL, &found, Assembler::kNearJump);
__ Bind(&no_match);
- __ addl(EBX, Immediate(kWordSize * 1 + (num_args))); // Next element.
+ __ addl(EBX, Immediate(kWordSize * (1 + num_args))); // Next element.
__ cmpl(EDI, raw_null); // Done?
__ j(NOT_EQUAL, &loop, Assembler::kNearJump);
}
« no previous file with comments | « runtime/vm/opt_code_generator_ia32.cc ('k') | tests/language/src/OptimizationTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698