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

Unified Diff: include/v8.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/features.gypi ('k') | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index d4e76f5c76f54607809dcec3b67c4915289110fe..b221950a35cfd6531b36dcbb383eb22f63cd2d60 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -5330,6 +5330,21 @@ class V8_EXPORT V8 {
static void SetNativesDataBlob(StartupData* startup_blob);
static void SetSnapshotDataBlob(StartupData* startup_blob);
+ static void CreateV8Snapshot(const char* raw_file,
+ const char* raw_context_file,
+ const char* startup_blob,
+ const char* extra_code,
+ const char* out_file);
+
+ static void CreateSnapshotFromHeap(Isolate* isolate,
+ const char* raw_file,
+ const char* raw_context_file,
+ const char* startup_blob,
+ const char* extra_code,
+ const char* out_file);
+ static void SetFlags(bool harmony, int random_seed, bool probe);
+ static void SetLogFilePerIsolate(bool logfile);
+
/**
* Adds a message listener.
*
« no previous file with comments | « build/features.gypi ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698