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

Unified Diff: vm/code_generator_x64.cc

Issue 9046009: - Fix a couple near branches that were out of reach. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | « no previous file | vm/stub_code_x64.cc » ('j') | vm/stub_code_x64.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/code_generator_x64.cc
===================================================================
--- vm/code_generator_x64.cc (revision 2817)
+++ vm/code_generator_x64.cc (working copy)
@@ -1440,7 +1440,7 @@
__ cmpq(RAX, raw_null);
__ j(NOT_EQUAL, &non_null, Assembler::kNearJump);
__ PushObject(negate_result ? bool_true : bool_false);
- __ jmp(&done, Assembler::kNearJump);
+ __ jmp(&done);
__ Bind(&non_null);
@@ -1469,13 +1469,13 @@
__ j(NOT_EQUAL, &runtime_call, Assembler::kNearJump);
__ Bind(&push_result);
__ PushObject(negate_result ? bool_false : bool_true);
- __ jmp(&done, Assembler::kNearJump);
+ __ jmp(&done);
} else if (!type_class.is_interface()) {
__ movq(RCX, FieldAddress(RAX, Object::class_offset()));
__ CompareObject(RCX, type_class);
__ j(NOT_EQUAL, &runtime_call, Assembler::kNearJump);
__ PushObject(negate_result ? bool_false : bool_true);
- __ jmp(&done, Assembler::kNearJump);
+ __ jmp(&done);
}
}
__ Bind(&runtime_call);
@@ -1494,7 +1494,7 @@
} else {
__ PushObject(negate_result ? bool_true : bool_false);
}
- __ jmp(&done, Assembler::kNearJump);
+ __ jmp(&done);
// Compare if the classes are equal.
__ Bind(&compare_classes);
« no previous file with comments | « no previous file | vm/stub_code_x64.cc » ('j') | vm/stub_code_x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698