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

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

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 years, 4 months 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
« no previous file with comments | « src/heap-snapshot-generator.h ('k') | src/heap/memory-reducer.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/heap-snapshot-generator.h"
6
7 #include "src/heap-snapshot-generator-inl.h"
8 6
9 #include "src/allocation-tracker.h" 7 #include "src/allocation-tracker.h"
10 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
11 #include "src/conversions.h" 9 #include "src/conversions.h"
12 #include "src/debug/debug.h" 10 #include "src/debug/debug.h"
13 #include "src/heap-profiler.h" 11 #include "src/heap-profiler.h"
12 #include "src/heap-snapshot-generator-inl.h"
14 #include "src/types.h" 13 #include "src/types.h"
15 14
16 namespace v8 { 15 namespace v8 {
17 namespace internal { 16 namespace internal {
18 17
19 18
20 HeapGraphEdge::HeapGraphEdge(Type type, const char* name, int from, int to) 19 HeapGraphEdge::HeapGraphEdge(Type type, const char* name, int from, int to)
21 : bit_field_(TypeField::encode(type) | FromIndexField::encode(from)), 20 : bit_field_(TypeField::encode(type) | FromIndexField::encode(from)),
22 to_index_(to), 21 to_index_(to),
23 name_(name) { 22 name_(name) {
(...skipping 3149 matching lines...) Expand 10 before | Expand all | Expand 10 after
3173 for (int i = 1; i < sorted_strings.length(); ++i) { 3172 for (int i = 1; i < sorted_strings.length(); ++i) {
3174 writer_->AddCharacter(','); 3173 writer_->AddCharacter(',');
3175 SerializeString(sorted_strings[i]); 3174 SerializeString(sorted_strings[i]);
3176 if (writer_->aborted()) return; 3175 if (writer_->aborted()) return;
3177 } 3176 }
3178 } 3177 }
3179 3178
3180 3179
3181 } // namespace internal 3180 } // namespace internal
3182 } // namespace v8 3181 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.h ('k') | src/heap/memory-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698