Index: src/ia32/builtins-ia32.cc |
=================================================================== |
--- src/ia32/builtins-ia32.cc (revision 2960) |
+++ src/ia32/builtins-ia32.cc (working copy) |
@@ -129,12 +129,7 @@ |
// eax: initial map |
__ movzx_b(edi, FieldOperand(eax, Map::kInstanceSizeOffset)); |
__ shl(edi, kPointerSizeLog2); |
- __ AllocateObjectInNewSpace(edi, |
- ebx, |
- edi, |
- no_reg, |
- &rt_call, |
- NO_ALLOCATION_FLAGS); |
+ __ AllocateInNewSpace(edi, ebx, edi, no_reg, &rt_call, NO_ALLOCATION_FLAGS); |
// Allocated the JSObject, now initialize the fields. |
// eax: initial map |
// ebx: JSObject |
@@ -189,14 +184,14 @@ |
// ebx: JSObject |
// edi: start of next object (will be start of FixedArray) |
// edx: number of elements in properties array |
- __ AllocateObjectInNewSpace(FixedArray::kHeaderSize, |
- times_pointer_size, |
- edx, |
- edi, |
- ecx, |
- no_reg, |
- &undo_allocation, |
- RESULT_CONTAINS_TOP); |
+ __ AllocateInNewSpace(FixedArray::kHeaderSize, |
+ times_pointer_size, |
+ edx, |
+ edi, |
+ ecx, |
+ no_reg, |
+ &undo_allocation, |
+ RESULT_CONTAINS_TOP); |
// Initialize the FixedArray. |
// ebx: JSObject |
@@ -697,12 +692,12 @@ |
if (initial_capacity > 0) { |
size += FixedArray::SizeFor(initial_capacity); |
} |
- __ AllocateObjectInNewSpace(size, |
- result, |
- scratch2, |
- scratch3, |
- gc_required, |
- TAG_OBJECT); |
+ __ AllocateInNewSpace(size, |
+ result, |
+ scratch2, |
+ scratch3, |
+ gc_required, |
+ TAG_OBJECT); |
// Allocated the JSArray. Now initialize the fields except for the elements |
// array. |
@@ -798,26 +793,26 @@ |
// If an empty array is requested allocate a small elements array anyway. This |
// keeps the code below free of special casing for the empty array. |
int size = JSArray::kSize + FixedArray::SizeFor(kPreallocatedArrayElements); |
- __ AllocateObjectInNewSpace(size, |
- result, |
- elements_array_end, |
- scratch, |
- gc_required, |
- TAG_OBJECT); |
+ __ AllocateInNewSpace(size, |
+ result, |
+ elements_array_end, |
+ scratch, |
+ gc_required, |
+ TAG_OBJECT); |
__ jmp(&allocated); |
// Allocate the JSArray object together with space for a FixedArray with the |
// requested elements. |
__ bind(¬_empty); |
ASSERT(kSmiTagSize == 1 && kSmiTag == 0); |
- __ AllocateObjectInNewSpace(JSArray::kSize + FixedArray::kHeaderSize, |
- times_half_pointer_size, // array_size is a smi. |
- array_size, |
- result, |
- elements_array_end, |
- scratch, |
- gc_required, |
- TAG_OBJECT); |
+ __ AllocateInNewSpace(JSArray::kSize + FixedArray::kHeaderSize, |
+ times_half_pointer_size, // array_size is a smi. |
+ array_size, |
+ result, |
+ elements_array_end, |
+ scratch, |
+ gc_required, |
+ TAG_OBJECT); |
// Allocated the JSArray. Now initialize the fields except for the elements |
// array. |