OLD | NEW |
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 "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "heap-snapshot-generator-inl.h" | 7 #include "src/heap-snapshot-generator-inl.h" |
8 | 8 |
9 #include "allocation-tracker.h" | 9 #include "src/allocation-tracker.h" |
10 #include "code-stubs.h" | 10 #include "src/code-stubs.h" |
11 #include "conversions.h" | 11 #include "src/conversions.h" |
12 #include "debug.h" | 12 #include "src/debug.h" |
13 #include "heap-profiler.h" | 13 #include "src/heap-profiler.h" |
14 #include "types.h" | 14 #include "src/types.h" |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
18 | 18 |
19 | 19 |
20 HeapGraphEdge::HeapGraphEdge(Type type, const char* name, int from, int to) | 20 HeapGraphEdge::HeapGraphEdge(Type type, const char* name, int from, int to) |
21 : type_(type), | 21 : type_(type), |
22 from_index_(from), | 22 from_index_(from), |
23 to_index_(to), | 23 to_index_(to), |
24 name_(name) { | 24 name_(name) { |
(...skipping 3144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3169 writer_->AddString("\"<dummy>\""); | 3169 writer_->AddString("\"<dummy>\""); |
3170 for (int i = 1; i < sorted_strings.length(); ++i) { | 3170 for (int i = 1; i < sorted_strings.length(); ++i) { |
3171 writer_->AddCharacter(','); | 3171 writer_->AddCharacter(','); |
3172 SerializeString(sorted_strings[i]); | 3172 SerializeString(sorted_strings[i]); |
3173 if (writer_->aborted()) return; | 3173 if (writer_->aborted()) return; |
3174 } | 3174 } |
3175 } | 3175 } |
3176 | 3176 |
3177 | 3177 |
3178 } } // namespace v8::internal | 3178 } } // namespace v8::internal |
OLD | NEW |