mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
wasm_interp: fix call_indirect immediates order
This commit is contained in:
parent
6d43763ab7
commit
ad2973cd8d
2 changed files with 2 additions and 2 deletions
|
@ -541,8 +541,8 @@ impl<'a, I: ImportDispatcher> Instance<'a, I> {
|
|||
self.do_call(None, fn_index, module);
|
||||
}
|
||||
CALLINDIRECT => {
|
||||
let table_index = self.fetch_immediate_u32(module);
|
||||
let expected_signature = self.fetch_immediate_u32(module);
|
||||
let table_index = self.fetch_immediate_u32(module);
|
||||
let element_index = self.value_stack.pop_u32()?;
|
||||
|
||||
// So far, all compilers seem to be emitting MVP-compatible code. (Rust, Zig, Roc...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue