Changeset 74973 in webkit
- Timestamp:
- Jan 4, 2011 9:44:12 AM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r74936 r74973 1 2011-01-03 Daniel Bates <dbates@rim.com> 2 3 Reviewed by Darin Adler. 4 5 Use __builtin_expect when compiling using RVCT in GNU mode 6 https://bugs.webkit.org/show_bug.cgi?id=51866 7 8 Derived from a patch by Dave Tapuska. 9 10 * wtf/AlwaysInline.h: 11 1 12 2011-01-03 Darin Adler <darin@apple.com> 2 13 -
trunk/Source/JavaScriptCore/wtf/AlwaysInline.h
r57318 r74973 42 42 43 43 #ifndef UNLIKELY 44 #if COMPILER(GCC)44 #if defined(__GNUC__) 45 45 #define UNLIKELY(x) __builtin_expect((x), 0) 46 46 #else … … 50 50 51 51 #ifndef LIKELY 52 #if COMPILER(GCC)52 #if defined(__GNUC__) 53 53 #define LIKELY(x) __builtin_expect((x), 1) 54 54 #else
Note: See TracChangeset
for help on using the changeset viewer.