MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / block_call

Method block_call

cranelift/codegen/src/ir/dfg.rs:243–249  ·  view source on GitHub ↗

Make a BlockCall, bundling together the block and its arguments.

(
        &mut self,
        block: Block,
        args: impl IntoIterator<Item = &'a BlockArg>,
    )

Source from the content-addressed store, hash-verified

241
242 /// Make a BlockCall, bundling together the block and its arguments.
243 pub fn block_call<'a>(
244 &mut self,
245 block: Block,
246 args: impl IntoIterator<Item = &'a BlockArg>,
247 ) -> BlockCall {
248 BlockCall::new(block, args.into_iter().copied(), &mut self.value_lists)
249 }
250
251 /// Get the total number of values.
252 pub fn num_values(&self) -> usize {

Callers 11

build_jump_tableMethod · 0.80
br_table_with_argsFunction · 0.80
parse_jump_tableMethod · 0.80
parse_exception_tableMethod · 0.80
parse_inst_operandsMethod · 0.80
insert_terminatorMethod · 0.80
bad_instruction_formatFunction · 0.80
exception_tableMethod · 0.80
translate_exn_throw_refFunction · 0.80
translate_resumeFunction · 0.80
translate_operatorFunction · 0.80

Calls 3

copiedMethod · 0.80
newFunction · 0.50
into_iterMethod · 0.45

Tested by 2

br_table_with_argsFunction · 0.64
bad_instruction_formatFunction · 0.64