JS: mark idx_func volatile to remove warning

This commit is contained in:
John-Mark Bell 2015-08-15 10:03:39 +00:00
parent f0c14aab7d
commit fd9aa16ece

View File

@ -54735,7 +54735,7 @@ duk_int_t duk_handle_call(duk_hthread *thr,
duk_uint_fast8_t entry_thread_state;
volatile duk_bool_t need_setjmp;
duk_jmpbuf * volatile old_jmpbuf_ptr = NULL; /* ptr is volatile (not the target) */
duk_idx_t idx_func; /* valstack index of 'func' and retval (relative to entry valstack_bottom) */
volatile duk_idx_t idx_func; /* valstack index of 'func' and retval (relative to entry valstack_bottom) */
duk_idx_t idx_args; /* valstack index of start of args (arg1) (relative to entry valstack_bottom) */
duk_idx_t nargs; /* # argument registers target function wants (< 0 => "as is") */
duk_idx_t nregs; /* # total registers target function wants on entry (< 0 => "as is") */