Commit 17ec52b6 authored by danno@chromium.org's avatar danno@chromium.org

Fix build and test failures from packed array optimizations.

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11638 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7e613579
......@@ -4059,7 +4059,7 @@ void MacroAssembler::LoadTransitionedArrayMapConditional(
movq(scratch, Operand(scratch,
Context::SlotOffset(Context::JS_ARRAY_MAPS_INDEX)));
size_t offset = expected_kind * kPointerSize +
int offset = expected_kind * kPointerSize +
FixedArrayBase::kHeaderSize;
cmpq(map_in_out, FieldOperand(scratch, offset));
j(not_equal, no_map_match);
......
......@@ -278,7 +278,8 @@ function testOneArrayType(allocator) {
expected_array_value(7));
%DeoptimizeFunction(test_various_loads6);
gc();
%ClearFunctionTypeFeedback(test_various_stores);
%ClearFunctionTypeFeedback(test_various_loads7);
// Test stores for non-NaN.
var large_array = new allocator(large_array_size);
......
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