Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: src/profile-generator.h

Issue 5256004: Expose an API method for getting JSObject constructor name (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/profile-generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698