Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 09dae3e09608b248886bd0a7b47a783a9171d25b..486e0b2c2ccf164af307dadd2bd699c8e527dc4d 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1121,6 +1121,16 @@ class MacroAssembler: public Assembler { |
Label* gc_required, |
AllocationFlags flags); |
+ // Record a JS object allocation if allocations tracking |
Hannes Payer (out of office)
2013/10/02 18:00:29
Should fit in one line.
Alexandra Mikhaylova
2013/10/03 16:27:55
Done.
|
+ // 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 |