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

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

Issue 780833002: Revert of Encode reservation meta data in the snapshot blob. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@snapshotformat
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 unified diff | Download patch
« no previous file with comments | « src/snapshot-common.cc ('k') | src/snapshot-external.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 // Used for building without snapshots. 5 // Used for building without snapshots.
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/snapshot.h" 9 #include "src/snapshot.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 const byte Snapshot::data_[] = { 0 }; 14 const byte Snapshot::data_[] = { 0 };
15 const byte* Snapshot::raw_data_ = NULL;
15 const int Snapshot::size_ = 0; 16 const int Snapshot::size_ = 0;
17 const int Snapshot::raw_size_ = 0;
16 const byte Snapshot::context_data_[] = { 0 }; 18 const byte Snapshot::context_data_[] = { 0 };
19 const byte* Snapshot::context_raw_data_ = NULL;
17 const int Snapshot::context_size_ = 0; 20 const int Snapshot::context_size_ = 0;
21 const int Snapshot::context_raw_size_ = 0;
18 22
23 const int Snapshot::new_space_used_ = 0;
24 const int Snapshot::pointer_space_used_ = 0;
25 const int Snapshot::data_space_used_ = 0;
26 const int Snapshot::code_space_used_ = 0;
27 const int Snapshot::map_space_used_ = 0;
28 const int Snapshot::cell_space_used_ = 0;
29 const int Snapshot::property_cell_space_used_ = 0;
30 const int Snapshot::lo_space_used_ = 0;
31
32 const int Snapshot::context_new_space_used_ = 0;
33 const int Snapshot::context_pointer_space_used_ = 0;
34 const int Snapshot::context_data_space_used_ = 0;
35 const int Snapshot::context_code_space_used_ = 0;
36 const int Snapshot::context_map_space_used_ = 0;
37 const int Snapshot::context_cell_space_used_ = 0;
38 const int Snapshot::context_property_cell_space_used_ = 0;
39 const int Snapshot::context_lo_space_used_ = 0;
19 } } // namespace v8::internal 40 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/snapshot-common.cc ('k') | src/snapshot-external.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698