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

Method push

cranelift/codegen/src/ir/memflags.rs:537–542  ·  view source on GitHub ↗

Push a new alias region, bypassing deduplication. This is used by the CLIF text parser to faithfully represent the source text. The verifier will then check for duplicate `user_id`s.

(&mut self, data: AliasRegionData)

Source from the content-addressed store, hash-verified

535 /// This is used by the CLIF text parser to faithfully represent the
536 /// source text. The verifier will then check for duplicate `user_id`s.
537 pub fn push(&mut self, data: AliasRegionData) -> AliasRegion {
538 let user_id = data.user_id;
539 let key = self.alias_regions.push(data);
540 self.dedupe_map.insert(user_id, key);
541 key
542 }
543
544 /// Returns `true` if this set already contains a region with the given
545 /// `user_id`.

Callers 15

mainFunction · 0.45
run_compilationFunction · 0.45
iterMethod · 0.45
nextMethod · 0.45
do_remove_constant_phisFunction · 0.45
post_order_dfsFunction · 0.45
push_endMethod · 0.45
inline_oneFunction · 0.45
fixup_inst_that_returnsFunction · 0.45
map_value_listMethod · 0.45
map_jump_tableMethod · 0.45

Calls 1

insertMethod · 0.45

Tested by 10

signaturesFunction · 0.36
cloningFunction · 0.36
append_blockFunction · 0.36
test_s390x_binemitFunction · 0.36
test_x64_emitFunction · 0.36
test_riscv64_binemitFunction · 0.36
test_aarch64_binemitFunction · 0.36