aboutsummaryrefslogtreecommitdiff
path: root/src/interp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp.inc')
-rw-r--r--src/interp.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp.inc b/src/interp.inc
index 735eb09..a88bec8 100644
--- a/src/interp.inc
+++ b/src/interp.inc
@@ -217,8 +217,8 @@
size_t prev_fprs = fprs_len(&state->fprs);
size_t prev_argc = args_len(&state->args);
- gprs_reserve(&state->gprs, prev_gprs + f->gpr);
- fprs_reserve(&state->fprs, prev_fprs + f->fpr);
+ gprs_reserve(&state->gprs, prev_gprs + gpr_stats_len(&f->gpr));
+ fprs_reserve(&state->fprs, prev_fprs + fpr_stats_len(&f->fpr));
union fpr {
double d;