Remove code offsets from Function (#3412)

* Remove code offsets from Function

* Remove reloc_jt and fix wasmtime-cranelift
This commit is contained in:
bjorn3
2021-10-07 15:54:00 +02:00
committed by GitHub
parent fc33700071
commit 2db3b5b9df
13 changed files with 6 additions and 155 deletions

View File

@@ -114,9 +114,6 @@ pub struct CompiledFunction {
/// The machine code for this function.
body: Vec<u8>,
/// The jump tables offsets (in the body).
jt_offsets: ir::JumpTableOffsets,
/// The unwind information.
unwind_info: Option<UnwindInfo>,
@@ -181,8 +178,6 @@ enum RelocationTarget {
UserFunc(FuncIndex),
/// A compiler-generated libcall.
LibCall(ir::LibCall),
/// Jump table index.
JumpTable(ir::JumpTable),
}
/// Creates a new cranelift `Signature` with no wasm params/results for the