| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 const char* GetSystemEntryName(HeapObject* object); | 957 const char* GetSystemEntryName(HeapObject* object); |
| 958 void ExtractReferences(HeapObject* obj); | 958 void ExtractReferences(HeapObject* obj); |
| 959 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry); | 959 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry); |
| 960 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry); | 960 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry); |
| 961 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry); | 961 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry); |
| 962 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry); | 962 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry); |
| 963 void SetClosureReference(HeapObject* parent_obj, | 963 void SetClosureReference(HeapObject* parent_obj, |
| 964 HeapEntry* parent, | 964 HeapEntry* parent, |
| 965 String* reference_name, | 965 String* reference_name, |
| 966 Object* child); | 966 Object* child); |
| 967 void SetNativeBindReference(HeapObject* parent_obj, |
| 968 HeapEntry* parent, |
| 969 const char* reference_name, |
| 970 Object* child); |
| 967 void SetElementReference(HeapObject* parent_obj, | 971 void SetElementReference(HeapObject* parent_obj, |
| 968 HeapEntry* parent, | 972 HeapEntry* parent, |
| 969 int index, | 973 int index, |
| 970 Object* child); | 974 Object* child); |
| 971 void SetInternalReference(HeapObject* parent_obj, | 975 void SetInternalReference(HeapObject* parent_obj, |
| 972 HeapEntry* parent, | 976 HeapEntry* parent, |
| 973 const char* reference_name, | 977 const char* reference_name, |
| 974 Object* child, | 978 Object* child, |
| 975 int field_offset = -1); | 979 int field_offset = -1); |
| 976 void SetInternalReference(HeapObject* parent_obj, | 980 void SetInternalReference(HeapObject* parent_obj, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1168 | 1172 |
| 1169 friend class HeapSnapshotJSONSerializerEnumerator; | 1173 friend class HeapSnapshotJSONSerializerEnumerator; |
| 1170 friend class HeapSnapshotJSONSerializerIterator; | 1174 friend class HeapSnapshotJSONSerializerIterator; |
| 1171 | 1175 |
| 1172 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 1176 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 1173 }; | 1177 }; |
| 1174 | 1178 |
| 1175 } } // namespace v8::internal | 1179 } } // namespace v8::internal |
| 1176 | 1180 |
| 1177 #endif // V8_PROFILE_GENERATOR_H_ | 1181 #endif // V8_PROFILE_GENERATOR_H_ |
| OLD | NEW |