MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / rewrite_variable_name

Function rewrite_variable_name

src/optimise1/copyprop.rs:369–377  ·  view source on GitHub ↗
(name: &mut String, aliases: &AliasMap)

Source from the content-addressed store, hash-verified

367 if let Some(def) = instruction_def(instruction).and_then(|name| locals.id(name)) {
368 bit_set_insert(&mut def_sets[index], def);
369 }
370 }
371
372 for successor in super::reachability::get_block_successors(block) {
373 if let Some(successor) = label_ids.get(successor.as_str()).copied() {
374 successors[index].push(successor);
375 predecessors[successor].push(index);
376 }
377 }
378 }
379
380 let mut live_in = vec![vec![0; word_count]; labels.len()];

Callers 1

rewrite_instruction_usesFunction · 0.85

Calls 1

resolve_aliasFunction · 0.85

Tested by

no test coverage detected