This commit is contained in:
Folkert 2023-07-29 17:16:50 +02:00
parent d42e987b12
commit da3635de8e
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 2 additions and 18 deletions

View file

@ -320,13 +320,6 @@ fn build_object<'a, B: Backend<'a>>(
"free".into(),
);
// generate_wrapper(
// &mut backend,
// &mut output,
// "roc_panic".into(),
// "roc_builtins.utils.test_panic".into(),
// );
// Extra symbols only required on unix systems.
if matches!(output.format(), BinaryFormat::Elf | BinaryFormat::MachO) {
generate_wrapper(
@ -357,12 +350,6 @@ fn build_object<'a, B: Backend<'a>>(
let exposed_proc = build_exposed_proc(&mut backend, &proc);
let exposed_generic_proc = build_exposed_generic_proc(&mut backend, &proc);
// ModuleId,
// &mut STLayoutInterner<'a>,
// &mut Interns,
// &mut CodeGenHelp<'a>,
// &mut Vec<'a, CallerProc<'a>>,
let (module_id, layout_interner, interns, code_gen_help, _) =
backend.module_interns_helpers_mut();