mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
sketch of a proof of concept
This commit is contained in:
parent
79d3b0ac01
commit
4f9b27b694
6 changed files with 65 additions and 18 deletions
|
@ -372,6 +372,7 @@ pub fn gen_from_mono_module(
|
|||
|
||||
for ((symbol, layout), proc) in loaded.procedures {
|
||||
let fn_val = build_proc_header(&env, &mut layout_ids, symbol, &layout, &proc);
|
||||
dbg!(&fn_val);
|
||||
|
||||
headers.push((proc, fn_val));
|
||||
}
|
||||
|
@ -395,7 +396,7 @@ pub fn gen_from_mono_module(
|
|||
}
|
||||
|
||||
// Uncomment this to see the module's optimized LLVM instruction output:
|
||||
// env.module.print_to_stderr();
|
||||
env.module.print_to_stderr();
|
||||
|
||||
mpm.run_on(module);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue