Changeset 286051 in webkit
- Timestamp:
- Nov 19, 2021, 12:54:33 AM (5 years ago)
- Location:
- trunk/Source/bmalloc
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
libpas/src/libpas/pas_utils.h (modified) (1 diff)
-
libpas/src/libpas/pas_utils_prefix.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/bmalloc/ChangeLog
r286029 r286051 1 2021-11-19 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [libpas] Unreviewed, build fix for relatively old clang on oss-fuzz 4 https://bugs.webkit.org/show_bug.cgi?id=233097 5 6 * libpas/src/libpas/pas_utils.h: 7 * libpas/src/libpas/pas_utils_prefix.h: 8 (__pas_depend_impl): 9 (__pas_depend): 10 (__pas_depend_cpu_only): 11 1 12 2021-11-18 Basuke Suzuki <basuke.suzuki@sony.com> 2 13 -
trunk/Source/bmalloc/libpas/src/libpas/pas_utils.h
r285853 r286051 84 84 #define PAS_ARM __PAS_ARM 85 85 86 #if PAS_COMPILER(CLANG)87 #define PAS_TYPEOF(a) typeof (a)88 #else89 86 #ifdef __cplusplus 90 87 #define PAS_TYPEOF(a) decltype (a) 91 88 #else 92 89 #define PAS_TYPEOF(a) typeof (a) 93 #endif94 90 #endif 95 91 -
trunk/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
r285853 r286051 113 113 } 114 114 115 static __PAS_ALWAYS_INLINE unsigned __pas_depend_impl(unsigned long input, _Boolcpu_only)115 static __PAS_ALWAYS_INLINE unsigned __pas_depend_impl(unsigned long input, int cpu_only) 116 116 { 117 117 unsigned output; … … 149 149 static __PAS_ALWAYS_INLINE unsigned __pas_depend(unsigned long input) 150 150 { 151 _Boolcpu_only = 0;151 int cpu_only = 0; 152 152 return __pas_depend_impl(input, cpu_only); 153 153 } … … 155 155 static __PAS_ALWAYS_INLINE unsigned __pas_depend_cpu_only(unsigned long input) 156 156 { 157 _Boolcpu_only = 1;157 int cpu_only = 1; 158 158 return __pas_depend_impl(input, cpu_only); 159 159 }
Note:
See TracChangeset
for help on using the changeset viewer.