| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); | 415 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); |
| 416 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); | 416 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); |
| 417 void ExtractCodeReferences(int entry, Code* code); | 417 void ExtractCodeReferences(int entry, Code* code); |
| 418 void ExtractBoxReferences(int entry, Box* box); | 418 void ExtractBoxReferences(int entry, Box* box); |
| 419 void ExtractCellReferences(int entry, Cell* cell); | 419 void ExtractCellReferences(int entry, Cell* cell); |
| 420 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); | 420 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); |
| 421 void ExtractAllocationSiteReferences(int entry, AllocationSite* site); | 421 void ExtractAllocationSiteReferences(int entry, AllocationSite* site); |
| 422 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer); | 422 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer); |
| 423 void ExtractClosureReferences(JSObject* js_obj, int entry); | 423 void ExtractClosureReferences(JSObject* js_obj, int entry); |
| 424 void ExtractPropertyReferences(JSObject* js_obj, int entry); | 424 void ExtractPropertyReferences(JSObject* js_obj, int entry); |
| 425 void ExtractHiddenPropertyReferences(JSObject* obj, int entry); |
| 425 bool ExtractAccessorPairProperty(JSObject* js_obj, int entry, | 426 bool ExtractAccessorPairProperty(JSObject* js_obj, int entry, |
| 426 Object* key, Object* callback_obj); | 427 Object* key, Object* callback_obj); |
| 427 void ExtractElementReferences(JSObject* js_obj, int entry); | 428 void ExtractElementReferences(JSObject* js_obj, int entry); |
| 428 void ExtractInternalReferences(JSObject* js_obj, int entry); | 429 void ExtractInternalReferences(JSObject* js_obj, int entry); |
| 429 bool IsEssentialObject(Object* object); | 430 bool IsEssentialObject(Object* object); |
| 430 void SetContextReference(HeapObject* parent_obj, | 431 void SetContextReference(HeapObject* parent_obj, |
| 431 int parent, | 432 int parent, |
| 432 String* reference_name, | 433 String* reference_name, |
| 433 Object* child, | 434 Object* child, |
| 434 int field_offset); | 435 int field_offset); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 friend class HeapSnapshotJSONSerializerEnumerator; | 643 friend class HeapSnapshotJSONSerializerEnumerator; |
| 643 friend class HeapSnapshotJSONSerializerIterator; | 644 friend class HeapSnapshotJSONSerializerIterator; |
| 644 | 645 |
| 645 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 646 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 646 }; | 647 }; |
| 647 | 648 |
| 648 | 649 |
| 649 } } // namespace v8::internal | 650 } } // namespace v8::internal |
| 650 | 651 |
| 651 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ | 652 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ |
| OLD | NEW |