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

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

Issue 1094014: Merge the partial_snapshots branch back into bleeding_edge. For... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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
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 int Snapshot::size_ = 0; 38 const int Snapshot::size_ = 0;
39 const byte Snapshot::context_data_[] = { 0 };
40 const int Snapshot::context_size_ = 0;
41
42 const int Snapshot::new_space_used_ = 0;
43 const int Snapshot::pointer_space_used_ = 0;
44 const int Snapshot::data_space_used_ = 0;
45 const int Snapshot::code_space_used_ = 0;
46 const int Snapshot::map_space_used_ = 0;
47 const int Snapshot::cell_space_used_ = 0;
48 const int Snapshot::large_space_used_ = 0;
39 49
40 } } // namespace v8::internal 50 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698