| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index 2e0d2857c86ac79cf82ea126093032b3d448f7d0..065cd02a736381a3d1af6644710d6314f5ce03c2 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -1545,6 +1545,11 @@ MaybeObject* CallStubCompiler::CompileArrayPushCall(Object* object,
|
| // Increment element's and array's sizes.
|
| __ add(FieldOperand(ebx, FixedArray::kLengthOffset),
|
| Immediate(Smi::FromInt(kAllocationDelta)));
|
| +
|
| + // NOTE: This only happen in new-space, where we don't
|
| + // care about the black-byte-count on pages. Otherwise we should
|
| + // update that too if the object is black.
|
| +
|
| __ mov(FieldOperand(edx, JSArray::kLengthOffset), eax);
|
|
|
| __ ret((argc + 1) * kPointerSize);
|
|
|