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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10790101: Fix crashes because of far jumps. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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 9778)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -377,7 +377,7 @@
ASSERT((ic_data.GetReceiverClassIdAt(i) != kSmi) || (i == 0));
Label next_test;
__ cmpq(temp, Immediate(ic_data.GetReceiverClassIdAt(i)));
- __ j(NOT_EQUAL, &next_test, Assembler::kNearJump);
+ __ j(NOT_EQUAL, &next_test);
const Function& target = Function::ZoneHandle(ic_data.GetTargetAt(i));
ObjectStore* object_store = Isolate::Current()->object_store();
if (target.owner() == object_store->object_class()) {
@@ -411,7 +411,7 @@
__ CompareObject(RAX, compiler->bool_true());
__ j(EQUAL, &false_label, Assembler::kNearJump);
__ LoadObject(RAX, compiler->bool_true());
- __ jmp(&done, Assembler::kNearJump);
+ __ jmp(&done);
__ Bind(&false_label);
__ LoadObject(RAX, compiler->bool_false());
__ jmp(&done);
« 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