Revision: 11826
Author:   [email protected]
Date:     Fri Jun 15 02:15:57 2012
Log:      Fix packed-element.js test on ARM with no snap

[email protected]

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

Modified:
 /branches/bleeding_edge/src/arm/macro-assembler-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/macro-assembler-arm.cc Tue Jun 12 08:44:12 2012 +++ /branches/bleeding_edge/src/arm/macro-assembler-arm.cc Fri Jun 15 02:15:57 2012
@@ -2878,7 +2878,8 @@
                  Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX)));
   size_t offset = expected_kind * kPointerSize +
       FixedArrayBase::kHeaderSize;
-  cmp(map_in_out, scratch);
+  ldr(ip, FieldMemOperand(scratch, offset));
+  cmp(map_in_out, ip);
   b(ne, no_map_match);

   // Use the transitioned cached map.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to