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

Unified Diff: src/snapshot.h

Issue 792563002: Revert of Use same blob format for internal and external snapshots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/serialize.h ('k') | src/snapshot-common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot.h
diff --git a/src/snapshot.h b/src/snapshot.h
index d37b50aebe02f44e363eb5f22efd16d846ebb6d3..384e655c5693caed379cf738682919f9884e1db7 100644
--- a/src/snapshot.h
+++ b/src/snapshot.h
@@ -15,16 +15,18 @@
// Initialize the Isolate from the internal snapshot. Returns false if no
// snapshot could be found.
static bool Initialize(Isolate* isolate);
+
+ static bool HaveASnapshotToStartFrom();
+
// Create a new context using the internal partial snapshot.
static Handle<Context> NewContextFromSnapshot(Isolate* isolate);
- static const Vector<const byte> StartupSnapshot();
- static const Vector<const byte> ContextSnapshot();
- static bool HaveASnapshotToStartFrom();
+ private:
+ static const byte data_[];
+ static const int size_;
+ static const byte context_data_[];
+ static const int context_size_;
- static const v8::StartupData SnapshotBlob();
-
- private:
DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot);
};
« no previous file with comments | « src/serialize.h ('k') | src/snapshot-common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698