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

Side by Side Diff: src/snapshot.h

Issue 9178011: Unbreak the 64 bit build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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 | « no previous file | no next file » | 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 static const int context_raw_size_; 83 static const int context_raw_size_;
84 84
85 static bool Deserialize(const byte* content, int len); 85 static bool Deserialize(const byte* content, int len);
86 86
87 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); 87 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot);
88 }; 88 };
89 89
90 90
91 // These are the sizes of the spaces that are needed in order to unpack the 91 // These are the sizes of the spaces that are needed in order to unpack the
92 // VM boot snapshot. 92 // VM boot snapshot.
93 const int kMinimumSpaceSizes[LAST_SPACE + 1] = { 93 const intptr_t kMinimumSpaceSizes[LAST_SPACE + 1] = {
94 0, // New space. 94 0, // New space.
95 512 * 1024, // Old pointer space. 95 512 * 1024, // Old pointer space.
96 128 * 1024, // Old data space. 96 128 * 1024, // Old data space.
97 256 * 1024, // Code space. 97 256 * 1024, // Code space.
98 64 * 1024, // Map space. 98 64 * 1024, // Map space.
99 64 * 1024, // Cell space. 99 64 * 1024, // Cell space.
100 0 // Large object space. 100 0 // Large object space.
101 }; 101 };
102 102
103 103
104 104
105 } } // namespace v8::internal 105 } } // namespace v8::internal
106 106
107 #endif // V8_SNAPSHOT_H_ 107 #endif // V8_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698