snapshot-empty.cc 1.29 KB
Newer Older
1
// Copyright 2006-2008 the V8 project authors. All rights reserved.
2 3
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
4 5 6

// Used for building without snapshots.

7
#include "src/v8.h"
8

9
#include "src/snapshot.h"
10

11 12
namespace v8 {
namespace internal {
13

14
const byte Snapshot::data_[] = { 0 };
15
const byte* Snapshot::raw_data_ = NULL;
16
const int Snapshot::size_ = 0;
17
const int Snapshot::raw_size_ = 0;
18
const byte Snapshot::context_data_[] = { 0 };
19
const byte* Snapshot::context_raw_data_ = NULL;
20
const int Snapshot::context_size_ = 0;
21
const int Snapshot::context_raw_size_ = 0;
22 23 24 25 26 27 28

const int Snapshot::new_space_used_ = 0;
const int Snapshot::pointer_space_used_ = 0;
const int Snapshot::data_space_used_ = 0;
const int Snapshot::code_space_used_ = 0;
const int Snapshot::map_space_used_ = 0;
const int Snapshot::cell_space_used_ = 0;
29
const int Snapshot::property_cell_space_used_ = 0;
30 31 32 33 34 35 36

const int Snapshot::context_new_space_used_ = 0;
const int Snapshot::context_pointer_space_used_ = 0;
const int Snapshot::context_data_space_used_ = 0;
const int Snapshot::context_code_space_used_ = 0;
const int Snapshot::context_map_space_used_ = 0;
const int Snapshot::context_cell_space_used_ = 0;
37
const int Snapshot::context_property_cell_space_used_ = 0;
38 39

} }  // namespace v8::internal