Skip to content

Commit 2b9673e

Browse files
committed
Return IR from compiler(:asm) so that we don't need to call emit_ functions.
1 parent 14fadbc commit 2b9673e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function codegen(output::Symbol, @nospecialize(job::CompilerJob);
140140
asm, asm_meta = emit_asm(job, ir; strip, validate, format)
141141

142142
if output == :asm || output == :obj
143-
return asm, asm_meta
143+
return asm, (; asm_meta..., ir_meta..., ir)
144144
end
145145

146146

0 commit comments

Comments
 (0)