Moved TrapInformation to the Compiler

This commit is contained in:
Syrus
2020-04-21 23:01:43 -07:00
parent 6d98dcccd7
commit 68b500ad84
12 changed files with 34 additions and 239 deletions

View File

@ -20,11 +20,11 @@ use wasm_common::{
};
use wasmer_compiler::CompileError;
use wasmer_compiler::FunctionBodyData;
use wasmer_compiler::{Compilation, CompiledFunction, Compiler, JumpTable};
use wasmer_compiler::{Compilation, CompiledFunction, Compiler, JumpTable, TrapInformation};
use wasmer_compiler::{CompilerConfig, ModuleTranslationState, Target};
use wasmer_compiler::{Relocation, RelocationTarget};
use wasmer_runtime::TrapCode;
use wasmer_runtime::{MemoryPlan, Module, TablePlan};
use wasmer_runtime::{TrapCode, TrapInformation};
/// Implementation of a relocation sink that just saves all the information for later
pub struct RelocSink {