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

Side by Side Diff: src/heap-snapshot-generator.h

Issue 98633009: Delete v8::HeapGraphNode::GetHeapValue (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Deleted the method instead of deprecating it. Created 7 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/api.cc ('k') | src/heap-snapshot-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 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 return Vector<HeapGraphEdge*>(children_arr(), children_count_); } 131 return Vector<HeapGraphEdge*>(children_arr(), children_count_); }
132 132
133 void SetIndexedReference( 133 void SetIndexedReference(
134 HeapGraphEdge::Type type, int index, HeapEntry* entry); 134 HeapGraphEdge::Type type, int index, HeapEntry* entry);
135 void SetNamedReference( 135 void SetNamedReference(
136 HeapGraphEdge::Type type, const char* name, HeapEntry* entry); 136 HeapGraphEdge::Type type, const char* name, HeapEntry* entry);
137 137
138 void Print( 138 void Print(
139 const char* prefix, const char* edge_name, int max_depth, int indent); 139 const char* prefix, const char* edge_name, int max_depth, int indent);
140 140
141 Handle<HeapObject> GetHeapObject();
142
143 private: 141 private:
144 INLINE(HeapGraphEdge** children_arr()); 142 INLINE(HeapGraphEdge** children_arr());
145 const char* TypeAsString(); 143 const char* TypeAsString();
146 144
147 unsigned type_: 4; 145 unsigned type_: 4;
148 int children_count_: 28; 146 int children_count_: 28;
149 int children_index_; 147 int children_index_;
150 int self_size_; 148 int self_size_;
151 SnapshotObjectId id_; 149 SnapshotObjectId id_;
152 HeapSnapshot* snapshot_; 150 HeapSnapshot* snapshot_;
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 friend class HeapSnapshotJSONSerializerEnumerator; 634 friend class HeapSnapshotJSONSerializerEnumerator;
637 friend class HeapSnapshotJSONSerializerIterator; 635 friend class HeapSnapshotJSONSerializerIterator;
638 636
639 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 637 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
640 }; 638 };
641 639
642 640
643 } } // namespace v8::internal 641 } } // namespace v8::internal
644 642
645 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ 643 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698