diff options
Diffstat (limited to 'src/interp.c')
-rw-r--r-- | src/interp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interp.c b/src/interp.c index a86b754..8462112 100644 --- a/src/interp.c +++ b/src/interp.c @@ -850,7 +850,10 @@ union interp_ret ejit_interp(struct ejit_func *f, size_t argc, DISPATCH(); DO(PARAM_F); - fpr[i.r2] = args[i.r0].d; + if (i.r1 == EJIT_FLOAT) + fpr[i.r2] = args[i.r0].f; + else + fpr[i.r2] = args[i.r0].d; DISPATCH(); DO(ARG); |