refactor llvm lowlevel code into its own file

This commit is contained in:
Folkert 2022-11-09 16:23:26 +01:00
parent 06a49e0255
commit 653741ccde
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
7 changed files with 2685 additions and 2632 deletions

View file

@ -7,7 +7,8 @@ use inkwell::values::BasicValue;
use inkwell::AddressSpace;
use roc_builtins::bitcode;
use super::build::{get_sjlj_buffer, LLVM_LONGJMP};
use super::build::get_sjlj_buffer;
use super::intrinsics::LLVM_LONGJMP;
/// Define functions for roc_alloc, roc_realloc, and roc_dealloc
/// which use libc implementations (malloc, realloc, and free)