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

Function hll_to_asm_text

tests/integration/cli_pipeline.rs:61–65  ·  view source on GitHub ↗

Compile HLL to assembly text (mirrors `fsc hll-to-asm`).

(src: &str)

Source from the content-addressed store, hash-verified

59
60// Compile HLL to assembly text (mirrors `fsc hll-to-asm`).
61fn hll_to_asm_text(src: &str) -> String {
62 let pipeline = make_pipeline(TargetMode::Hosted, USER_PREFIX);
63 let result = pipeline.compile(src).expect("compile failed");
64 pipeline.compile_ir_to_assembly(&result.ir_program)
65}
66
67// --- hll-to-ir tests ---
68

Callers 4

asm_output_has_prologueFunction · 0.85
asm_output_has_retFunction · 0.85
asm_output_text_sectionFunction · 0.85

Calls 3

make_pipelineFunction · 0.70
compileMethod · 0.45

Tested by 4

asm_output_has_prologueFunction · 0.68
asm_output_has_retFunction · 0.68
asm_output_text_sectionFunction · 0.68