| Index: src/arm/stub-cache-arm.cc
|
| diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc
|
| index 3350c56c163762f4464dabd0e153685116b6e973..06c5e1a5e6cbde2e32b6155d1a0183ce14e78847 100644
|
| --- a/src/arm/stub-cache-arm.cc
|
| +++ b/src/arm/stub-cache-arm.cc
|
| @@ -2982,7 +2982,7 @@ Handle<Code> ConstructStubCompiler::CompileConstructStub(
|
| __ cmp(r3, Operand(instance_size >> kPointerSizeLog2));
|
| __ Check(eq, "Instance size of initial map changed.");
|
| #endif
|
| - __ AllocateInNewSpace(r3, r4, r5, r6, &generic_stub_call, SIZE_IN_WORDS);
|
| + __ Allocate(r3, r4, r5, r6, &generic_stub_call, SIZE_IN_WORDS);
|
|
|
| // Allocated the JSObject, now initialize the fields. Map is set to initial
|
| // map and properties and elements are set to empty fixed array.
|
|
|