| OLD | NEW |
| 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 #define NO_INLINE(declarator) V8_NOINLINE declarator | 351 #define NO_INLINE(declarator) V8_NOINLINE declarator |
| 352 | 352 |
| 353 | 353 |
| 354 // Newly written code should use V8_WARN_UNUSED_RESULT. | 354 // Newly written code should use V8_WARN_UNUSED_RESULT. |
| 355 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT | 355 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT |
| 356 | 356 |
| 357 | 357 |
| 358 // Define DISABLE_ASAN macros. | 358 // Define DISABLE_ASAN macros. |
| 359 #if defined(__has_feature) | 359 #if defined(__has_feature) |
| 360 #if __has_feature(address_sanitizer) | 360 #if __has_feature(address_sanitizer) |
| 361 #define DISABLE_ASAN __attribute__((no_address_safety_analysis)) | 361 #define DISABLE_ASAN __attribute__((no_sanitize_address)) |
| 362 #endif | 362 #endif |
| 363 #endif | 363 #endif |
| 364 | 364 |
| 365 | 365 |
| 366 #ifndef DISABLE_ASAN | 366 #ifndef DISABLE_ASAN |
| 367 #define DISABLE_ASAN | 367 #define DISABLE_ASAN |
| 368 #endif | 368 #endif |
| 369 | 369 |
| 370 | 370 |
| 371 // ----------------------------------------------------------------------------- | 371 // ----------------------------------------------------------------------------- |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 // the backend, so both modes are represented by the kStrictMode value. | 404 // the backend, so both modes are represented by the kStrictMode value. |
| 405 enum StrictModeFlag { | 405 enum StrictModeFlag { |
| 406 kNonStrictMode, | 406 kNonStrictMode, |
| 407 kStrictMode | 407 kStrictMode |
| 408 }; | 408 }; |
| 409 | 409 |
| 410 | 410 |
| 411 } } // namespace v8::internal | 411 } } // namespace v8::internal |
| 412 | 412 |
| 413 #endif // V8_GLOBALS_H_ | 413 #endif // V8_GLOBALS_H_ |
| OLD | NEW |