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

Side by Side Diff: src/snapshot/mksnapshot.cc

Issue 1399623004: Remove cycle breaking include from mksnapshot.cc file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_issue-cr-539273-reland
Patch Set: Created 5 years, 2 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/factory.h ('k') | src/type-feedback-vector.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 <errno.h> 5 #include <errno.h>
6 #include <signal.h> 6 #include <signal.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "include/libplatform/libplatform.h" 9 #include "include/libplatform/libplatform.h"
10 #include "src/assembler.h" 10 #include "src/assembler.h"
11 #include "src/base/platform/platform.h" 11 #include "src/base/platform/platform.h"
12 #include "src/bootstrapper.h"
13 #include "src/flags.h" 12 #include "src/flags.h"
14 #include "src/list.h" 13 #include "src/list.h"
15 #include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker!
16 #include "src/snapshot/natives.h" 14 #include "src/snapshot/natives.h"
17 #include "src/snapshot/serialize.h" 15 #include "src/snapshot/serialize.h"
18 16
19 17
20 using namespace v8; 18 using namespace v8;
21 19
22 class SnapshotWriter { 20 class SnapshotWriter {
23 public: 21 public:
24 SnapshotWriter() : fp_(NULL), startup_blob_file_(NULL) {} 22 SnapshotWriter() : fp_(NULL), startup_blob_file_(NULL) {}
25 23
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 writer.WriteSnapshot(blob); 167 writer.WriteSnapshot(blob);
170 delete[] extra_code; 168 delete[] extra_code;
171 delete[] blob.data; 169 delete[] blob.data;
172 } 170 }
173 171
174 V8::Dispose(); 172 V8::Dispose();
175 V8::ShutdownPlatform(); 173 V8::ShutdownPlatform();
176 delete platform; 174 delete platform;
177 return 0; 175 return 0;
178 } 176 }
OLDNEW
« no previous file with comments | « src/factory.h ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698