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

Side by Side Diff: src/globals.h

Issue 131363008: A64: Synchronize with r15922. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/global-handles.cc ('k') | src/heap.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Constants 246 // Constants
247 247
248 const int KB = 1024; 248 const int KB = 1024;
249 const int MB = KB * KB; 249 const int MB = KB * KB;
250 const int GB = KB * KB * KB; 250 const int GB = KB * KB * KB;
251 const int kMaxInt = 0x7FFFFFFF; 251 const int kMaxInt = 0x7FFFFFFF;
252 const int kMinInt = -kMaxInt - 1; 252 const int kMinInt = -kMaxInt - 1;
253 253
254 const uint32_t kMaxUInt32 = 0xFFFFFFFFu; 254 const uint32_t kMaxUInt32 = 0xFFFFFFFFu;
255 255
256 const int kCharSize = sizeof(char); // NOLINT 256 const int kCharSize = sizeof(char); // NOLINT
257 const int kShortSize = sizeof(short); // NOLINT 257 const int kShortSize = sizeof(short); // NOLINT
258 const int kIntSize = sizeof(int); // NOLINT 258 const int kIntSize = sizeof(int); // NOLINT
259 const int kDoubleSize = sizeof(double); // NOLINT 259 const int kDoubleSize = sizeof(double); // NOLINT
260 const int kIntptrSize = sizeof(intptr_t); // NOLINT 260 const int kIntptrSize = sizeof(intptr_t); // NOLINT
261 const int kPointerSize = sizeof(void*); // NOLINT 261 const int kPointerSize = sizeof(void*); // NOLINT
262 const int kRegisterSize = kPointerSize;
263 const int kPCOnStackSize = kRegisterSize;
264 const int kFPOnStackSize = kRegisterSize;
262 265
263 const int kDoubleSizeLog2 = 3; 266 const int kDoubleSizeLog2 = 3;
264 267
265 // Size of the state of a the random number generator. 268 // Size of the state of a the random number generator.
266 const int kRandomStateSize = 2 * kIntSize; 269 const int kRandomStateSize = 2 * kIntSize;
267 270
268 #if V8_HOST_ARCH_64_BIT 271 #if V8_HOST_ARCH_64_BIT
269 const int kPointerSizeLog2 = 3; 272 const int kPointerSizeLog2 = 3;
270 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); 273 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000);
271 const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF); 274 const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 // the backend, so both modes are represented by the kStrictMode value. 457 // the backend, so both modes are represented by the kStrictMode value.
455 enum StrictModeFlag { 458 enum StrictModeFlag {
456 kNonStrictMode, 459 kNonStrictMode,
457 kStrictMode 460 kStrictMode
458 }; 461 };
459 462
460 463
461 } } // namespace v8::internal 464 } } // namespace v8::internal
462 465
463 #endif // V8_GLOBALS_H_ 466 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/global-handles.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698