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

Side by Side Diff: src/globals.h

Issue 133443009: A64: Synchronize with r17441. (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/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 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 const int MB = KB * KB; 239 const int MB = KB * KB;
240 const int GB = KB * KB * KB; 240 const int GB = KB * KB * KB;
241 const int kMaxInt = 0x7FFFFFFF; 241 const int kMaxInt = 0x7FFFFFFF;
242 const int kMinInt = -kMaxInt - 1; 242 const int kMinInt = -kMaxInt - 1;
243 243
244 const uint32_t kMaxUInt32 = 0xFFFFFFFFu; 244 const uint32_t kMaxUInt32 = 0xFFFFFFFFu;
245 245
246 const int kCharSize = sizeof(char); // NOLINT 246 const int kCharSize = sizeof(char); // NOLINT
247 const int kShortSize = sizeof(short); // NOLINT 247 const int kShortSize = sizeof(short); // NOLINT
248 const int kIntSize = sizeof(int); // NOLINT 248 const int kIntSize = sizeof(int); // NOLINT
249 const int kInt32Size = sizeof(int32_t); // NOLINT
250 const int kInt64Size = sizeof(int64_t); // NOLINT
249 const int kDoubleSize = sizeof(double); // NOLINT 251 const int kDoubleSize = sizeof(double); // NOLINT
250 const int kIntptrSize = sizeof(intptr_t); // NOLINT 252 const int kIntptrSize = sizeof(intptr_t); // NOLINT
251 const int kPointerSize = sizeof(void*); // NOLINT 253 const int kPointerSize = sizeof(void*); // NOLINT
252 const int kRegisterSize = kPointerSize; 254 const int kRegisterSize = kPointerSize;
253 const int kPCOnStackSize = kRegisterSize; 255 const int kPCOnStackSize = kRegisterSize;
254 const int kFPOnStackSize = kRegisterSize; 256 const int kFPOnStackSize = kRegisterSize;
255 257
256 const int kDoubleSizeLog2 = 3; 258 const int kDoubleSizeLog2 = 3;
257 259
258 // Size of the state of a the random number generator. 260 // Size of the state of a the random number generator.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 #define NO_INLINE(declarator) V8_NOINLINE declarator 365 #define NO_INLINE(declarator) V8_NOINLINE declarator
364 366
365 367
366 // Newly written code should use V8_WARN_UNUSED_RESULT. 368 // Newly written code should use V8_WARN_UNUSED_RESULT.
367 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT 369 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT
368 370
369 371
370 // Define DISABLE_ASAN macros. 372 // Define DISABLE_ASAN macros.
371 #if defined(__has_feature) 373 #if defined(__has_feature)
372 #if __has_feature(address_sanitizer) 374 #if __has_feature(address_sanitizer)
373 #define DISABLE_ASAN __attribute__((no_address_safety_analysis)) 375 #define DISABLE_ASAN __attribute__((no_sanitize_address))
374 #endif 376 #endif
375 #endif 377 #endif
376 378
377 379
378 #ifndef DISABLE_ASAN 380 #ifndef DISABLE_ASAN
379 #define DISABLE_ASAN 381 #define DISABLE_ASAN
380 #endif 382 #endif
381 383
382 384
383 // ----------------------------------------------------------------------------- 385 // -----------------------------------------------------------------------------
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // the backend, so both modes are represented by the kStrictMode value. 418 // the backend, so both modes are represented by the kStrictMode value.
417 enum StrictModeFlag { 419 enum StrictModeFlag {
418 kNonStrictMode, 420 kNonStrictMode,
419 kStrictMode 421 kStrictMode
420 }; 422 };
421 423
422 424
423 } } // namespace v8::internal 425 } } // namespace v8::internal
424 426
425 #endif // V8_GLOBALS_H_ 427 #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