Differences From Artifact [291ac1241b]:
- File src/runtime/runtime-private.h — part of check-in [55c399cda6] at 2013-03-09 10:07:06 on branch trunk — Save some space in the dtables. (user: js, size: 4740) [annotate] [blame] [check-ins using]
To Artifact [630ce5911a]:
- File
src/runtime/runtime-private.h
— part of check-in
[a4f1bd6c08]
at
2013-07-08 15:43:56
on branch trunk
— Check for ASM lookup at compile time.
Checking at configure time can potentially break universal builds. (user: js, size: 5120) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | #else uint8_t i = idx >> 8; uint8_t j = idx; return (void*)s->buckets[i]->buckets[j]; #endif } #define OBJC_ERROR(...) \ { \ fprintf(stderr, "[objc @ " __FILE__ ":%d] ", __LINE__); \ fprintf(stderr, __VA_ARGS__); \ fputs("\n", stderr); \ abort(); \ } | > > > > > > > > > > > > > | 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | #else uint8_t i = idx >> 8; uint8_t j = idx; return (void*)s->buckets[i]->buckets[j]; #endif } #if defined(__ELF__) # if defined(__amd64__) || defined(__x86_64__) || defined(__i386__) || \ defined(__ppc__) || defined(__PPC__) || defined(__arm__) || defined(__ARM__) # define OF_ASM_LOOKUP # elif defined(__mips) && __mips < 64 # define OF_ASM_LOOKUP # endif #elif defined(__MACH__) # if defined(__amd64__) || defined(__x86_64__) # define OF_ASM_LOOKUP # endif #endif #define OBJC_ERROR(...) \ { \ fprintf(stderr, "[objc @ " __FILE__ ":%d] ", __LINE__); \ fprintf(stderr, __VA_ARGS__); \ fputs("\n", stderr); \ abort(); \ } |