OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 17 matching lines...) Expand all Loading... |
28 // Used for building without snapshots. | 28 // Used for building without snapshots. |
29 | 29 |
30 #include "v8.h" | 30 #include "v8.h" |
31 | 31 |
32 #include "snapshot.h" | 32 #include "snapshot.h" |
33 | 33 |
34 namespace v8 { | 34 namespace v8 { |
35 namespace internal { | 35 namespace internal { |
36 | 36 |
37 const byte Snapshot::data_[] = { 0 }; | 37 const byte Snapshot::data_[] = { 0 }; |
| 38 const byte* Snapshot::raw_data_ = NULL; |
38 const int Snapshot::size_ = 0; | 39 const int Snapshot::size_ = 0; |
| 40 const int Snapshot::raw_size_ = 0; |
39 const byte Snapshot::context_data_[] = { 0 }; | 41 const byte Snapshot::context_data_[] = { 0 }; |
| 42 const byte* Snapshot::context_raw_data_ = NULL; |
40 const int Snapshot::context_size_ = 0; | 43 const int Snapshot::context_size_ = 0; |
| 44 const int Snapshot::context_raw_size_ = 0; |
41 | 45 |
42 const int Snapshot::new_space_used_ = 0; | 46 const int Snapshot::new_space_used_ = 0; |
43 const int Snapshot::pointer_space_used_ = 0; | 47 const int Snapshot::pointer_space_used_ = 0; |
44 const int Snapshot::data_space_used_ = 0; | 48 const int Snapshot::data_space_used_ = 0; |
45 const int Snapshot::code_space_used_ = 0; | 49 const int Snapshot::code_space_used_ = 0; |
46 const int Snapshot::map_space_used_ = 0; | 50 const int Snapshot::map_space_used_ = 0; |
47 const int Snapshot::cell_space_used_ = 0; | 51 const int Snapshot::cell_space_used_ = 0; |
48 const int Snapshot::large_space_used_ = 0; | 52 const int Snapshot::large_space_used_ = 0; |
49 | 53 |
50 } } // namespace v8::internal | 54 } } // namespace v8::internal |
OLD | NEW |