Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 093794bdcc834c95250812103db57412ab08403e..fd2bb5c7d59783071d344e78906b9e4f22fbbf24 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -7522,7 +7522,7 @@ static void CreateArrayDispatchOneArgument(MacroAssembler* masm) { |
// Save the resulting elements kind in type info |
__ SmiTag(edx); |
- __ mov(FieldOperand(ecx, AllocationSite::kPayloadOffset), edx); |
+ __ mov(FieldOperand(ecx, AllocationSite::kTransitionInfoOffset), edx); |
__ SmiUntag(edx); |
__ bind(&normal_sequence); |
@@ -7636,7 +7636,7 @@ void ArrayConstructorStub::Generate(MacroAssembler* masm) { |
__ Assert(equal, "Expected AllocationSite object in register edx"); |
} |
- __ mov(edx, FieldOperand(edx, AllocationSite::kPayloadOffset)); |
+ __ mov(edx, FieldOperand(edx, AllocationSite::kTransitionInfoOffset)); |
__ SmiUntag(edx); |
__ jmp(&switch_ready); |
__ bind(&no_info); |