Reduce build latency and fix old cpu bugs

This commit is contained in:
Justine Tunney 2021-08-05 14:43:53 -07:00
parent df8ab0aa0c
commit 533f3d1ef1
69 changed files with 43069 additions and 43683 deletions

View file

@ -2229,8 +2229,7 @@ static int js_os_poll(JSContext *ctx)
struct timeval tv, *tvp;
/* only check signals in the main thread */
if (!ts->recv_pipe &&
unlikely(os_pending_signals != 0)) {
if (!ts->recv_pipe && UNLIKELY(os_pending_signals != 0)) {
JSOSSignalHandler *sh;
uint64_t mask;