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

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

Issue 6901090: Add support for startup data (snapshot) compression. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: The version I'll commit Created 9 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « src/snapshot-common.cc ('k') | tools/gyp/v8.gyp » ('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 // 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
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
OLDNEW
« no previous file with comments | « src/snapshot-common.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698