| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index 30f8a8dfbb8cec982fdee21e9308de9c10726746..30fc7987532b175a8d3f66a0ac27d6e2f34dd5ad 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -644,6 +644,24 @@ 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,
|
| + Register scratch);
|
| +
|
| + void RecordObjectAllocation(Isolate* isolate,
|
| + Register object,
|
| + int object_size,
|
| + Register scratch);
|
| +
|
| + void RecordObjectAllocation(Isolate* isolate,
|
| + Register object,
|
| + int header_size,
|
| + ScaleFactor element_size,
|
| + Register element_count,
|
| + Register scratch);
|
| +
|
| // Undo allocation in new space. The object passed and objects allocated after
|
| // it will no longer be allocated. Make sure that no pointers are left to the
|
| // object(s) no longer allocated as they would be invalid when allocation is
|
|
|