mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Fix function call
This commit is contained in:
parent
c46e73bd64
commit
11f327f722
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ impl<'a> CodeBuilder<'a> {
|
|||
self.vm_stack.push(Symbol::WASM_ANONYMOUS_STACK_VALUE);
|
||||
}
|
||||
self.code.push(CALL);
|
||||
encode_u32(&mut self.code, function_index);
|
||||
}
|
||||
fn call_indirect() {
|
||||
panic!("Not implemented. Roc doesn't use function pointers");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue