summaryrefslogtreecommitdiff
path: root/javascript/duktape/duktape.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-10-31 22:05:50 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-10-31 22:59:41 +0100
commit47794b32ffe736f95cdf5e6edb6da0478cb0584b (patch)
tree88e14ffae5f0c51d6a3d9d4b04d774b02767ecc2 /javascript/duktape/duktape.c
parent7a6f0c765aa01dbf7dfc21766bd17ee94d88786f (diff)
downloadnetsurf-47794b32ffe736f95cdf5e6edb6da0478cb0584b.tar.gz
netsurf-47794b32ffe736f95cdf5e6edb6da0478cb0584b.tar.bz2
Restore volatility introduced in fd9aa16ece1af9af828c4606bbd9df975e5d2e3d
Diffstat (limited to 'javascript/duktape/duktape.c')
-rw-r--r--javascript/duktape/duktape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/duktape/duktape.c b/javascript/duktape/duktape.c
index 3629388a3..7e85afa9e 100644
--- a/javascript/duktape/duktape.c
+++ b/javascript/duktape/duktape.c
@@ -56243,7 +56243,7 @@ duk_int_t duk_handle_call(duk_hthread *thr,
duk_instr_t **entry_ptr_curr_pc;
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") */