aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index fc4d1ed58b..5fcdec1fc5 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -731,7 +731,7 @@ extern bool parallel_cpus;
static inline TCGTemp *arg_temp(TCGArg a)
{
- return &tcg_ctx.temps[a];
+ return a == TCG_CALL_DUMMY_ARG ? NULL : &tcg_ctx.temps[a];
}
static inline void tcg_set_insn_param(int op_idx, int arg, TCGArg v)