mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
final phase
This commit is contained in:
parent
0ed259a80d
commit
c663a35e16
27 changed files with 222 additions and 183 deletions
|
@ -235,7 +235,7 @@ pub fn gen_from_mono_module_llvm(
|
|||
let code_gen_start = SystemTime::now();
|
||||
|
||||
// Generate the binary
|
||||
let ptr_bytes = target.pointer_width().unwrap().bytes() as u32;
|
||||
let target_info = roc_target::TargetInfo::from(target);
|
||||
let context = Context::create();
|
||||
let module = arena.alloc(module_from_builtins(target, &context, "app"));
|
||||
|
||||
|
@ -286,7 +286,7 @@ pub fn gen_from_mono_module_llvm(
|
|||
context: &context,
|
||||
interns: loaded.interns,
|
||||
module,
|
||||
target_info: ptr_bytes,
|
||||
target_info,
|
||||
// in gen_tests, the compiler provides roc_panic
|
||||
// and sets up the setjump/longjump exception handling
|
||||
is_gen_test: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue