Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index cf2f0457523a2e4fafc5a16f06f5f3fa235e7a1e..0c9cec09ff43e62a25eb90c154c3ebebcd627ada 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -665,19 +665,20 @@ class MacroAssembler: public Assembler { |
// --------------------------------------------------------------------------- |
// Allocation support |
- // Allocate an object in new space. The object_size is specified |
- // either in bytes or in words if the allocation flag SIZE_IN_WORDS |
- // is passed. If the new space is exhausted control continues at the |
- // gc_required label. The allocated object is returned in result. If |
- // the flag tag_allocated_object is true the result is tagged as as |
- // a heap object. All registers are clobbered also when control |
- // continues at the gc_required label. |
- void AllocateInNewSpace(int object_size, |
- Register result, |
- Register scratch1, |
- Register scratch2, |
- Label* gc_required, |
- AllocationFlags flags); |
+ // Allocate an object in new space or old pointer space. The object_size is |
+ // specified either in bytes or in words if the allocation flag SIZE_IN_WORDS |
+ // is passed. If the space is exhausted control continues at the gc_required |
+ // label. The allocated object is returned in result. If the flag |
+ // tag_allocated_object is true the result is tagged as as a heap object. |
+ // All registers are clobbered also when control continues at the gc_required |
+ // label. |
+ void Allocate(int object_size, |
+ Register result, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* gc_required, |
+ AllocationFlags flags); |
+ |
void AllocateInNewSpace(Register object_size, |
Register result, |
Register scratch1, |