Home
last modified time | relevance | path

Searched refs:function_index (Results 1 – 5 of 5) sorted by relevance

/wasmtime-44.0.1/crates/cranelift/src/translate/
H A Dcode_translator.rs671 Operator::Call { function_index } => { in translate_operator()
672 let function_index = FuncIndex::from_u32(*function_index); in translate_operator() localVariable
673 let ty = environ.module.functions[function_index] in translate_operator()
677 let num_args = environ.num_params_for_func(function_index); in translate_operator()
686 function_index, in translate_operator()
748 Operator::ReturnCall { function_index } => { in translate_operator()
749 let function_index = FuncIndex::from_u32(*function_index); in translate_operator() localVariable
750 let ty = environ.module.functions[function_index] in translate_operator()
754 let num_args = environ.num_params_for_func(function_index); in translate_operator()
1362 Operator::RefFunc { function_index } => { in translate_operator()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Ddebug.rs306 function_index: u32, in debug_function()
310 FuncIndex::from_bits(function_index).into(), in debug_function()
/wasmtime-44.0.1/crates/environ/src/
H A Dtypes.rs1936 if let wasmparser::Operator::RefFunc { function_index } = &op {
1937 escaped.push(FuncIndex::from_u32(*function_index));
2050 O::RefFunc { function_index } => Self::RefFunc(FuncIndex::from_u32(function_index)), in from_wasmparser()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs1088 pub(crate) fn num_params_for_func(&self, function_index: FuncIndex) -> usize { in num_params_for_func()
1089 let ty = self.module.functions[function_index] in num_params_for_func()
/wasmtime-44.0.1/winch/codegen/src/
H A Dvisitor.rs2259 fn visit_ref_func(&mut self, function_index: u32) -> Self::Output { in visit_ref_func()
2261 self.context.stack.extend([function_index.try_into()?]); in visit_ref_func()