Method
visit_ref_func
(&mut self, function_index: u32)
Source from the content-addressed store, hash-verified
| 2147 | } |
| 2148 | |
| 2149 | fn visit_ref_func(&mut self, function_index: u32) -> Self::Output { |
| 2150 | let ref_func = self.env.builtins.ref_func::<M::ABI>()?; |
| 2151 | self.context.stack.extend([function_index.try_into()?]); |
| 2152 | FnCall::emit::<M>( |
| 2153 | &mut self.env, |
| 2154 | self.masm, |
| 2155 | &mut self.context, |
| 2156 | Callee::Builtin(ref_func), |
| 2157 | ) |
| 2158 | } |
| 2159 | |
| 2160 | fn visit_i32_load(&mut self, memarg: MemArg) -> Self::Output { |
| 2161 | self.emit_wasm_load( |
Callers
nothing calls this directly
Tested by
no test coverage detected