aboutsummaryrefslogtreecommitdiff
path: root/src/op/call
diff options
context:
space:
mode:
Diffstat (limited to 'src/op/call')
-rw-r--r--src/op/call/call.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/op/call/call.c b/src/op/call/call.c
index 19355ca..4c970c5 100644
--- a/src/op/call/call.c
+++ b/src/op/call/call.c
@@ -36,16 +36,11 @@ static int call(struct nw_interp *const i, const varuint32 function_index)
LOG("%s: section_type_push failed\n", __func__);
return -1;
}
- else if (section_code_push(f, fn.start, &fr))
+ else if (section_code_push(i, fn.start))
{
LOG("%s: section_code_push failed\n", __func__);
return -1;
}
- else if (interp_push(i, &fr))
- {
- LOG("%s: interp_push failed\n", __func__);
- return -1;
- }
return 0;
}