diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-05-22 14:04:36 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-06-12 13:38:05 +0200 |
| commit | 4f9a2c7a2d8464b04cc08075a7762c6d457090df (patch) | |
| tree | ae8fe229a3a5ba60d08b74299d0c1850685bda86 /src/op/call | |
| parent | f25b015e5b668028c34974bbb22faa4105c26690 (diff) | |
| download | nanowasm-sync-4f9a2c7a2d8464b04cc08075a7762c6d457090df.tar.gz | |
WIP
Diffstat (limited to 'src/op/call')
| -rw-r--r-- | src/op/call/call.c | 7 |
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; } |
