feat: Move "compilation" types from wasmer_types to wasmer_compiler

This commit is contained in:
Edoardo Marangoni
2024-11-06 16:42:06 +01:00
parent af6f650b66
commit cf2d30940b
77 changed files with 768 additions and 761 deletions

View File

@ -30,15 +30,20 @@ use crate::{
config::{CompiledKind, LLVM},
error::err_nt,
};
use wasmer_compiler::wasmparser::{MemArg, Operator};
use wasmer_compiler::{
from_binaryreadererror_wasmerror, wpheaptype_to_type, wptype_to_type, FunctionBinaryReader,
FunctionBodyData, MiddlewareBinaryReader, ModuleMiddlewareChain, ModuleTranslationState,
from_binaryreadererror_wasmerror,
types::{
relocation::RelocationTarget,
symbols::{Symbol, SymbolRegistry},
},
wasmparser::{MemArg, Operator},
wpheaptype_to_type, wptype_to_type, FunctionBinaryReader, FunctionBodyData,
MiddlewareBinaryReader, ModuleMiddlewareChain, ModuleTranslationState,
};
use wasmer_types::entity::PrimaryMap;
use wasmer_types::{
CompileError, FunctionIndex, FunctionType, GlobalIndex, LocalFunctionIndex, MemoryIndex,
ModuleInfo, RelocationTarget, SignatureIndex, Symbol, SymbolRegistry, TableIndex, Type,
ModuleInfo, SignatureIndex, TableIndex, Type,
};
use wasmer_vm::{MemoryStyle, TableStyle, VMOffsets};