From 4f9a2c7a2d8464b04cc08075a7762c6d457090df Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 22 May 2024 14:04:36 +0200 Subject: WIP --- src/op/call/call.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/op/call') 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; } -- cgit v1.2.3