Commit d03c2374 authored by danno@chromium.org's avatar danno@chromium.org

Fix packed-element.js test on ARM with no snap

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10546171

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a0755834
...@@ -2878,7 +2878,8 @@ void MacroAssembler::LoadTransitionedArrayMapConditional( ...@@ -2878,7 +2878,8 @@ void MacroAssembler::LoadTransitionedArrayMapConditional(
Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX))); Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX)));
size_t offset = expected_kind * kPointerSize + size_t offset = expected_kind * kPointerSize +
FixedArrayBase::kHeaderSize; FixedArrayBase::kHeaderSize;
cmp(map_in_out, scratch); ldr(ip, FieldMemOperand(scratch, offset));
cmp(map_in_out, ip);
b(ne, no_map_match); b(ne, no_map_match);
// Use the transitioned cached map. // Use the transitioned cached map.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment