@@ -50,7 +50,7 @@ void *memmove(void *dest, const void *src, size_t n) {
50
50
__attribute__((weak ))
51
51
int memcmp (const void * v1 , const void * v2 , size_t n ) {
52
52
// memcmp can read up to n bytes from each object.
53
- // Using unaligned loads to handle the case where
53
+ // Use unaligned loads to handle the case where
54
54
// the objects have mismatching alignments.
55
55
const v128_t * w1 = v1 ;
56
56
const v128_t * w2 = v2 ;
@@ -151,7 +151,7 @@ static int __strcmp(const char *s1, const char *s2) {
151
151
const v128_t * const limit =
152
152
(v128_t * )(__builtin_wasm_memory_size (0 ) * PAGESIZE ) - 1 ;
153
153
154
- // Using unaligned loads to handle the case where
154
+ // Use unaligned loads to handle the case where
155
155
// the strings have mismatching alignments.
156
156
const v128_t * w1 = (void * )s1 ;
157
157
const v128_t * w2 = (void * )s2 ;
@@ -199,7 +199,7 @@ int strncmp(const char *s1, const char *s2, size_t n) {
199
199
const v128_t * const limit =
200
200
(v128_t * )(__builtin_wasm_memory_size (0 ) * PAGESIZE ) - 1 ;
201
201
202
- // Using unaligned loads to handle the case where
202
+ // Use unaligned loads to handle the case where
203
203
// the strings have mismatching alignments.
204
204
const v128_t * w1 = (void * )s1 ;
205
205
const v128_t * w2 = (void * )s2 ;
@@ -304,7 +304,7 @@ size_t strspn(const char *s, const char *c) {
304
304
return s - a ;
305
305
}
306
306
307
- #if defined( __OPTIMIZE_SIZE__ ) || !defined( __OPTIMIZE__ )
307
+ #if ! __OPTIMIZE__ || __OPTIMIZE_SIZE__
308
308
309
309
// Unoptimized version.
310
310
memset (byteset , 0 , sizeof (byteset ));
@@ -339,7 +339,7 @@ size_t strcspn(const char *s, const char *c) {
339
339
340
340
if (!c [0 ] || !c [1 ]) return __strchrnul (s , * c ) - s ;
341
341
342
- #if defined( __OPTIMIZE_SIZE__ ) || !defined( __OPTIMIZE__ )
342
+ #if ! __OPTIMIZE__ || __OPTIMIZE_SIZE__
343
343
344
344
// Unoptimized version.
345
345
memset (byteset , 0 , sizeof (byteset ));
0 commit comments