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

Side by Side Diff: src/spaces.h

Issue 115073: Changed size of pointers stored as numbers to intptr_t in spaces.h. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « no previous file | src/spaces.cc » ('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 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 // The current and maximum capacities of a semispace. 1176 // The current and maximum capacities of a semispace.
1177 int capacity_; 1177 int capacity_;
1178 int maximum_capacity_; 1178 int maximum_capacity_;
1179 1179
1180 // The semispaces. 1180 // The semispaces.
1181 SemiSpace to_space_; 1181 SemiSpace to_space_;
1182 SemiSpace from_space_; 1182 SemiSpace from_space_;
1183 1183
1184 // Start address and bit mask for containment testing. 1184 // Start address and bit mask for containment testing.
1185 Address start_; 1185 Address start_;
1186 uint32_t address_mask_; 1186 uintptr_t address_mask_;
1187 uint32_t object_mask_; 1187 uintptr_t object_mask_;
1188 uint32_t object_expected_; 1188 uintptr_t object_expected_;
1189 1189
1190 // Allocation pointer and limit for normal allocation and allocation during 1190 // Allocation pointer and limit for normal allocation and allocation during
1191 // mark-compact collection. 1191 // mark-compact collection.
1192 AllocationInfo allocation_info_; 1192 AllocationInfo allocation_info_;
1193 AllocationInfo mc_forwarding_info_; 1193 AllocationInfo mc_forwarding_info_;
1194 1194
1195 #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING) 1195 #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING)
1196 HistogramInfo* allocated_histogram_; 1196 HistogramInfo* allocated_histogram_;
1197 HistogramInfo* promoted_histogram_; 1197 HistogramInfo* promoted_histogram_;
1198 #endif 1198 #endif
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 1694
1695 private: 1695 private:
1696 LargeObjectChunk* current_; 1696 LargeObjectChunk* current_;
1697 HeapObjectCallback size_func_; 1697 HeapObjectCallback size_func_;
1698 }; 1698 };
1699 1699
1700 1700
1701 } } // namespace v8::internal 1701 } } // namespace v8::internal
1702 1702
1703 #endif // V8_SPACES_H_ 1703 #endif // V8_SPACES_H_
OLDNEW
« no previous file with comments | « no previous file | src/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698