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

Side by Side Diff: src/snapshot.h

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/mksnapshot.cc ('k') | src/snapshot-common.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 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 "src/isolate.h" 5 #include "src/isolate.h"
6 6
7 #ifndef V8_SNAPSHOT_H_ 7 #ifndef V8_SNAPSHOT_H_
8 #define V8_SNAPSHOT_H_ 8 #define V8_SNAPSHOT_H_
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer); 50 static void ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer);
51 51
52 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); 52 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot);
53 }; 53 };
54 54
55 #ifdef V8_USE_EXTERNAL_STARTUP_DATA 55 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
56 void SetSnapshotFromFile(StartupData* snapshot_blob); 56 void SetSnapshotFromFile(StartupData* snapshot_blob);
57 #endif 57 #endif
58 58
59 #ifdef V8_ON_DEMAND_SNAPSHOT
60 void CreateV8SnapshotOnDemand();
61 #endif
62
59 } } // namespace v8::internal 63 } } // namespace v8::internal
60 64
61 #endif // V8_SNAPSHOT_H_ 65 #endif // V8_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « src/mksnapshot.cc ('k') | src/snapshot-common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698