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

Unified Diff: runtime/vm/assembler_x64.cc

Issue 1096573003: Reduce instruction size on X64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_x64.cc
===================================================================
--- runtime/vm/assembler_x64.cc (revision 45219)
+++ runtime/vm/assembler_x64.cc (working copy)
@@ -2555,7 +2555,8 @@
void Assembler::j(Condition condition, const ExternalLabel* label) {
Label no_jump;
- j(static_cast<Condition>(condition ^ 1), &no_jump); // Negate condition.
+ // Negate condition.
+ j(static_cast<Condition>(condition ^ 1), &no_jump, Assembler::kNearJump);
jmp(label);
Bind(&no_jump);
}
@@ -2564,7 +2565,8 @@
void Assembler::J(Condition condition, const ExternalLabel* label,
Register pp) {
Label no_jump;
- j(static_cast<Condition>(condition ^ 1), &no_jump); // Negate condition.
+ // Negate condition.
+ j(static_cast<Condition>(condition ^ 1), &no_jump, Assembler::kNearJump);
Jmp(label, pp);
Bind(&no_jump);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698