Revision: 16068
Author:   [email protected]
Date:     Tue Aug  6 01:26:31 2013
Log: Fix DeferredInstanceMigration to store the result to temp rather than temp to result.

Thanks to Akos Palfi for finding the bug.

BUG=
[email protected]

Review URL: https://chromiumcodereview.appspot.com/22388002
http://code.google.com/p/v8/source/detail?r=16068

Modified:
 /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Mon Aug 5 09:42:39 2013 +++ /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Tue Aug 6 01:26:31 2013
@@ -5219,7 +5219,7 @@
     PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters);
     __ push(object);
     CallRuntimeFromDeferred(Runtime::kMigrateInstance, 1, instr);
-    __ StoreToSafepointRegisterSlot(scratch0(), r0);
+    __ StoreToSafepointRegisterSlot(r0, scratch0());
   }
   __ tst(scratch0(), Operand(kSmiTagMask));
   DeoptimizeIf(eq, instr->environment());

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to