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

Side by Side Diff: src/globals.h

Issue 8404030: Version 3.7.1 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 1 month 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/full-codegen.cc ('k') | src/handles.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 const int kCharSize = sizeof(char); // NOLINT 224 const int kCharSize = sizeof(char); // NOLINT
225 const int kShortSize = sizeof(short); // NOLINT 225 const int kShortSize = sizeof(short); // NOLINT
226 const int kIntSize = sizeof(int); // NOLINT 226 const int kIntSize = sizeof(int); // NOLINT
227 const int kDoubleSize = sizeof(double); // NOLINT 227 const int kDoubleSize = sizeof(double); // NOLINT
228 const int kIntptrSize = sizeof(intptr_t); // NOLINT 228 const int kIntptrSize = sizeof(intptr_t); // NOLINT
229 const int kPointerSize = sizeof(void*); // NOLINT 229 const int kPointerSize = sizeof(void*); // NOLINT
230 230
231 const int kDoubleSizeLog2 = 3; 231 const int kDoubleSizeLog2 = 3;
232 232
233 // Size of the state of a the random number generator.
234 const int kRandomStateSize = 2 * kIntSize;
235
233 #if V8_HOST_ARCH_64_BIT 236 #if V8_HOST_ARCH_64_BIT
234 const int kPointerSizeLog2 = 3; 237 const int kPointerSizeLog2 = 3;
235 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); 238 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000);
236 const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF); 239 const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF);
237 #else 240 #else
238 const int kPointerSizeLog2 = 2; 241 const int kPointerSizeLog2 = 2;
239 const intptr_t kIntptrSignBit = 0x80000000; 242 const intptr_t kIntptrSignBit = 0x80000000;
240 const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu; 243 const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu;
241 #endif 244 #endif
242 245
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 // ----------------------------------------------------------------------------- 354 // -----------------------------------------------------------------------------
352 // Forward declarations for frequently used classes 355 // Forward declarations for frequently used classes
353 // (sorted alphabetically) 356 // (sorted alphabetically)
354 357
355 class FreeStoreAllocationPolicy; 358 class FreeStoreAllocationPolicy;
356 template <typename T, class P = FreeStoreAllocationPolicy> class List; 359 template <typename T, class P = FreeStoreAllocationPolicy> class List;
357 360
358 } } // namespace v8::internal 361 } } // namespace v8::internal
359 362
360 #endif // V8_GLOBALS_H_ 363 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698