Enable to build wamrc with custom llvm and fix some compile warnings (#672)

Enable to build wamrc with custom llvm, enable to auto detect processor on apple silicon, and fix some compile warnings.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2021-07-26 09:29:19 +08:00
committed by GitHub
parent 28f104036c
commit 586752735b
4 changed files with 22 additions and 18 deletions

View File

@ -19,7 +19,7 @@ typedef struct _app_timer {
bool is_periodic;
} app_timer_t;
typedef struct _timer_ctx {
struct _timer_ctx {
app_timer_t *app_timers;
app_timer_t *idle_timers;
app_timer_t *free_timers;
@ -33,7 +33,7 @@ typedef struct _timer_ctx {
timer_callback_f timer_callback;
check_timer_expiry_f refresh_checker;
} *timer_ctx_t;
};
uint64
bh_get_tick_ms()