Move VMOffset (and a few friends) to wasmer_types, and adapted compiler-singlepass to use it

This commit is contained in:
ptitSeb
2022-03-22 14:59:26 +01:00
parent d5bbfd0768
commit eb7ef52521
12 changed files with 150 additions and 151 deletions

View File

@ -30,8 +30,8 @@ use wasmer_compiler::{
use wasmer_types::entity::{EntityRef, PrimaryMap};
use wasmer_types::{
FunctionIndex, FunctionType, LocalFunctionIndex, MemoryIndex, ModuleInfo, TableIndex, TrapCode,
VMOffsets,
};
use wasmer_vm::VMOffsets;
/// A compiler that compiles a WebAssembly module with Singlepass.
/// It does the compilation in one pass