Changeset 206580 in webkit
- Timestamp:
- Sep 29, 2016, 8:12:54 AM (9 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r206563 r206580 1 2016-09-29 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Clang 3.9 reports a compilation warning about ENABLE_EXCEPTION_SCOPE_VERIFICATION 4 https://bugs.webkit.org/show_bug.cgi?id=162718 5 6 Reviewed by Alex Christensen. 7 8 Clang 3.9 reports a following compilation warning: 9 Source/JavaScriptCore/runtime/VM.h:656:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 10 11 * wtf/Platform.h: Changed the definition of ENABLE_EXCEPTION_SCOPE_VERIFICATION not to use 'defined'. 12 1 13 2016-09-28 Mark Lam <mark.lam@apple.com> 2 14 -
trunk/Source/WTF/wtf/Platform.h
r206496 r206580 897 897 898 898 #ifndef ENABLE_EXCEPTION_SCOPE_VERIFICATION 899 #define ENABLE_EXCEPTION_SCOPE_VERIFICATION (!defined(NDEBUG)) 899 #ifdef NDEBUG 900 #define ENABLE_EXCEPTION_SCOPE_VERIFICATION 0 901 #else 902 #define ENABLE_EXCEPTION_SCOPE_VERIFICATION 1 903 #endif 900 904 #endif 901 905
Note:
See TracChangeset
for help on using the changeset viewer.