mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Moved Unwind info a bit to make refactor easier
This commit is contained in:
@@ -5,7 +5,7 @@ use inkwell::{
|
||||
values::FunctionValue, AddressSpace,
|
||||
};
|
||||
use wasm_common::{FunctionType, Type};
|
||||
use wasmer_compiler::{CompileError, CompiledFunctionUnwindInfo, FunctionBody};
|
||||
use wasmer_compiler::{CompileError, FunctionBody};
|
||||
|
||||
pub struct FuncTrampoline {
|
||||
ctx: Context,
|
||||
@@ -97,7 +97,7 @@ impl FuncTrampoline {
|
||||
|
||||
Ok(FunctionBody {
|
||||
body: bytes,
|
||||
unwind_info: CompiledFunctionUnwindInfo::None,
|
||||
unwind_info: None,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,9 +39,9 @@ use wasm_common::{
|
||||
use wasmer_compiler::wasmparser::{self, BinaryReader, MemoryImmediate, Operator};
|
||||
use wasmer_compiler::{
|
||||
to_wasm_error, wasm_unsupported, Addend, CodeOffset, CompileError, CompiledFunction,
|
||||
CompiledFunctionFrameInfo, CompiledFunctionUnwindInfo, CustomSection, CustomSectionProtection,
|
||||
FunctionAddressMap, FunctionBody, FunctionBodyData, Relocation, RelocationKind,
|
||||
RelocationTarget, SectionBody, SourceLoc, WasmResult,
|
||||
CompiledFunctionFrameInfo, CustomSection, CustomSectionProtection, FunctionAddressMap,
|
||||
FunctionBody, FunctionBodyData, Relocation, RelocationKind, RelocationTarget, SectionBody,
|
||||
SourceLoc, WasmResult,
|
||||
};
|
||||
use wasmer_runtime::libcalls::LibCall;
|
||||
use wasmer_runtime::Module as WasmerCompilerModule;
|
||||
@@ -413,7 +413,7 @@ impl FuncTranslator {
|
||||
CompiledFunction {
|
||||
body: FunctionBody {
|
||||
body: bytes,
|
||||
unwind_info: CompiledFunctionUnwindInfo::None,
|
||||
unwind_info: None,
|
||||
},
|
||||
jt_offsets: SecondaryMap::new(),
|
||||
relocations,
|
||||
|
||||
Reference in New Issue
Block a user