 Chromium Code Reviews
 Chromium Code Reviews Issue 22852024:
  Track JS allocations as they arrive with no affection on performance when tracking is switched off  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 22852024:
  Track JS allocations as they arrive with no affection on performance when tracking is switched off  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| Index: src/x64/macro-assembler-x64.h | 
| diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h | 
| index 61abc206e108ec2f85e0ff83393eb778c58dde79..348eada8cdd413ecf4ad829c5d6e76509d82ee1c 100644 | 
| --- a/src/x64/macro-assembler-x64.h | 
| +++ b/src/x64/macro-assembler-x64.h | 
| @@ -1049,6 +1049,14 @@ class MacroAssembler: public Assembler { | 
| // --------------------------------------------------------------------------- | 
| // Allocation support | 
| + void RecordObjectAllocation(Isolate* isolate, | 
| + Register object, | 
| + Register object_size); | 
| + | 
| + void RecordObjectAllocation(Isolate* isolate, | 
| + Register object, | 
| + int object_size); | 
| 
Hannes Payer (out of office)
2013/08/28 09:51:32
Can we move these methods after the Allocate(...)
 
Alexandra Mikhaylova
2013/09/19 16:03:38
Done.
 | 
| + | 
| // Allocate an object in new space or old pointer space. If the given space | 
| // is exhausted control continues at the gc_required label. The allocated | 
| // object is returned in result and end of the new object is returned in |