Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 3d5a4560bb0227789e7092031bb0a35e12588b7e..931a4eb12fac3baf70b1ff86f5311174832991b3 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1115,6 +1115,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. Make sure that no pointers are left to the |
// object(s) no longer allocated as they would be invalid when allocation is |