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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 Object* child, | 966 Object* child, |
967 int field_offset = -1); | 967 int field_offset = -1); |
968 void SetHiddenReference(HeapObject* parent_obj, | 968 void SetHiddenReference(HeapObject* parent_obj, |
969 HeapEntry* parent, | 969 HeapEntry* parent, |
970 int index, | 970 int index, |
971 Object* child); | 971 Object* child); |
972 void SetPropertyReference(HeapObject* parent_obj, | 972 void SetPropertyReference(HeapObject* parent_obj, |
973 HeapEntry* parent, | 973 HeapEntry* parent, |
974 String* reference_name, | 974 String* reference_name, |
975 Object* child, | 975 Object* child, |
| 976 const char* name_format_string = NULL, |
976 int field_offset = -1); | 977 int field_offset = -1); |
977 void SetPropertyShortcutReference(HeapObject* parent_obj, | 978 void SetPropertyShortcutReference(HeapObject* parent_obj, |
978 HeapEntry* parent, | 979 HeapEntry* parent, |
979 String* reference_name, | 980 String* reference_name, |
980 Object* child); | 981 Object* child); |
981 void SetRootShortcutReference(Object* child); | 982 void SetRootShortcutReference(Object* child); |
982 void SetRootGcRootsReference(); | 983 void SetRootGcRootsReference(); |
983 void SetGcRootsReference(Object* child); | 984 void SetGcRootsReference(Object* child); |
984 void TagObject(Object* obj, const char* tag); | 985 void TagObject(Object* obj, const char* tag); |
985 | 986 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1128 | 1129 |
1129 friend class HeapSnapshotJSONSerializerEnumerator; | 1130 friend class HeapSnapshotJSONSerializerEnumerator; |
1130 friend class HeapSnapshotJSONSerializerIterator; | 1131 friend class HeapSnapshotJSONSerializerIterator; |
1131 | 1132 |
1132 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 1133 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
1133 }; | 1134 }; |
1134 | 1135 |
1135 } } // namespace v8::internal | 1136 } } // namespace v8::internal |
1136 | 1137 |
1137 #endif // V8_PROFILE_GENERATOR_H_ | 1138 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |