| Index: src/arm/macro-assembler-arm.h
|
| diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h
|
| index 32471443bb7a7bd823337d768ffe6a454cc477b5..36a2ff13fe910ace1e9bc9aaa19b937b2eaf0032 100644
|
| --- a/src/arm/macro-assembler-arm.h
|
| +++ b/src/arm/macro-assembler-arm.h
|
| @@ -738,6 +738,15 @@ class MacroAssembler: public Assembler {
|
| Label* gc_required,
|
| AllocationFlags flags);
|
|
|
| + // Record a JS object allocation if allocations tracking mode is on.
|
| + void RecordObjectAllocation(Isolate* isolate,
|
| + Register object,
|
| + Register object_size);
|
| +
|
| + void RecordObjectAllocation(Isolate* isolate,
|
| + Register object,
|
| + int object_size);
|
| +
|
| // Undo allocation in new space. The object passed and objects allocated after
|
| // it will no longer be allocated. The caller must make sure that no pointers
|
| // are left to the object(s) no longer allocated as they would be invalid when
|
|
|