MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / float_reg_round_trips_all

Function float_reg_round_trips_all

crates/asm-to-binary/src/assembler/mod.rs:160–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158
159 fn loc(file: &str, line: u32) -> RvInstruction {
160 RvInstruction::SourceLoc {
161 file: file.to_owned(),
162 line,
163 }
164 }
165
166 #[test]
167 fn line_table_maps_addresses_to_source_both_ways() {
168 // One leading unattributed instruction at 0x0, then two lines of code.
169 let tokens = vec![
170 RvInstruction::Label("_start".to_owned()),
171 nop(), // @0: before any marker
172 loc("a.hll", 10), // line 10 covers @4, @8

Callers

nothing calls this directly

Calls 1

reg_nameFunction · 0.50

Tested by

no test coverage detected