Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 06edce8d7bbcc428972941bde98236dfc7acf7af..283d87f871c36eca46c70b2378150b32b3e9891e 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -2988,7 +2988,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. |