Index: src/snapshot/snapshot.h |
diff --git a/src/snapshot/snapshot.h b/src/snapshot/snapshot.h |
index a541592feeea8061670ce21e1964a2244f49c7d0..937edfb8e3056339263417953530a5e2524f8f41 100644 |
--- a/src/snapshot/snapshot.h |
+++ b/src/snapshot/snapshot.h |
@@ -67,9 +67,6 @@ class Snapshot : public AllStatic { |
static bool EmbedsScript(Isolate* isolate); |
- static uint32_t SizeOfFirstPage(Isolate* isolate, AllocationSpace space); |
- |
- |
// To be implemented by the snapshot source. |
static const v8::StartupData* DefaultSnapshotBlob(); |
@@ -88,7 +85,6 @@ class Snapshot : public AllStatic { |
int index); |
// Snapshot blob layout: |
- // [0 - 5] pre-calculated first page sizes for paged spaces |
// [6] number of contexts N |
Yang
2016/08/09 13:26:29
Please update the indices here.
Michael Lippautz
2016/08/09 13:55:32
Done.
|
// [7] offset to context 0 |
// [8] offset to context 1 |
@@ -100,9 +96,7 @@ class Snapshot : public AllStatic { |
static const int kNumPagedSpaces = LAST_PAGED_SPACE - FIRST_PAGED_SPACE + 1; |
Yang
2016/08/09 13:26:29
Do we still need this constant?
Michael Lippautz
2016/08/09 13:55:32
Removed.
|
- static const int kFirstPageSizesOffset = 0; |
- static const int kNumberOfContextsOffset = |
- kFirstPageSizesOffset + kNumPagedSpaces * kInt32Size; |
+ static const int kNumberOfContextsOffset = 0; |
static const int kFirstContextOffsetOffset = |
kNumberOfContextsOffset + kInt32Size; |