Split the ABIs into separate implementations and trait files.

This commit is contained in:
Nick Lewycky
2020-10-23 14:09:14 -07:00
parent 4fc5993e9d
commit e89b1c089b
9 changed files with 1227 additions and 1198 deletions

View File

@ -1,5 +1,4 @@
use super::{
abi::{get_abi, Abi},
intrinsics::{
tbaa_label, type_to_llvm, CtxType, FunctionCache, GlobalCache, Intrinsics, MemoryCache,
},
@ -22,6 +21,7 @@ use inkwell::{
};
use smallvec::SmallVec;
use crate::abi::{get_abi, Abi};
use crate::config::{CompiledKind, LLVM};
use crate::object_file::{load_object_file, CompiledFunction};
use wasmer_compiler::wasmparser::{MemoryImmediate, Operator};