Moved TrapCode enum to wasmer_types, and adapted compiler and wompiler-singlepass

This commit is contained in:
ptitSeb
2022-03-22 11:24:07 +01:00
parent 1329c71017
commit d5bbfd0768
15 changed files with 49 additions and 25 deletions

View File

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