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

Unified Diff: runtime/vm/intermediate_language_ia32.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 | « no previous file | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_ia32.cc
===================================================================
--- runtime/vm/intermediate_language_ia32.cc (revision 9778)
+++ runtime/vm/intermediate_language_ia32.cc (working copy)
@@ -368,7 +368,7 @@
ASSERT((ic_data.GetReceiverClassIdAt(i) != kSmi) || (i == 0));
Label next_test;
__ cmpl(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()) {
@@ -402,7 +402,7 @@
__ CompareObject(EAX, compiler->bool_true());
__ j(EQUAL, &false_label, Assembler::kNearJump);
__ LoadObject(EAX, compiler->bool_true());
- __ jmp(&done, Assembler::kNearJump);
+ __ jmp(&done);
__ Bind(&false_label);
__ LoadObject(EAX, compiler->bool_false());
__ jmp(&done);
« no previous file with comments | « no previous file | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698