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

Side by Side Diff: src/snapshot-common.cc

Issue 782573002: Sketch of on demand snapshot generation for d8 Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add bits needed by the Chrome implementation Created 6 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
« no previous file with comments | « src/snapshot.h ('k') | tools/gyp/v8.gyp » ('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 // The common functionality when building with or without snapshots. 5 // The common functionality when building with or without snapshots.
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/api.h" 9 #include "src/api.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #ifdef V8_USE_EXTERNAL_STARTUP_DATA 77 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
78 // Dummy implementations of Set*FromFile(..) APIs. 78 // Dummy implementations of Set*FromFile(..) APIs.
79 // 79 //
80 // These are meant for use with snapshot-external.cc. Should this file 80 // These are meant for use with snapshot-external.cc. Should this file
81 // be compiled with those options we just supply these dummy implementations 81 // be compiled with those options we just supply these dummy implementations
82 // below. This happens when compiling the mksnapshot utility. 82 // below. This happens when compiling the mksnapshot utility.
83 void SetNativesFromFile(StartupData* data) { CHECK(false); } 83 void SetNativesFromFile(StartupData* data) { CHECK(false); }
84 void SetSnapshotFromFile(StartupData* data) { CHECK(false); } 84 void SetSnapshotFromFile(StartupData* data) { CHECK(false); }
85 #endif // V8_USE_EXTERNAL_STARTUP_DATA 85 #endif // V8_USE_EXTERNAL_STARTUP_DATA
86 86
87 #if defined(V8_ON_DEMAND_SNAPSHOT)
88 void CreateV8SnapshotOnDemand() { CHECK(false); }
89 #endif
90
87 } } // namespace v8::internal 91 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/snapshot.h ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698