OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 int next_node_id_; | 1066 int next_node_id_; |
1067 int next_string_id_; | 1067 int next_string_id_; |
1068 OutputStreamWriter* writer_; | 1068 OutputStreamWriter* writer_; |
1069 | 1069 |
1070 friend class HeapSnapshotJSONSerializerEnumerator; | 1070 friend class HeapSnapshotJSONSerializerEnumerator; |
1071 friend class HeapSnapshotJSONSerializerIterator; | 1071 friend class HeapSnapshotJSONSerializerIterator; |
1072 | 1072 |
1073 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 1073 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
1074 }; | 1074 }; |
1075 | 1075 |
| 1076 |
| 1077 String* GetConstructorNameForHeapProfile(JSObject* object); |
| 1078 |
1076 } } // namespace v8::internal | 1079 } } // namespace v8::internal |
1077 | 1080 |
1078 #endif // ENABLE_LOGGING_AND_PROFILING | 1081 #endif // ENABLE_LOGGING_AND_PROFILING |
1079 | 1082 |
1080 #endif // V8_PROFILE_GENERATOR_H_ | 1083 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |