mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-26 02:09:33 +00:00
Fixed singlepass compilation
This commit is contained in:
@ -9,7 +9,7 @@ use wasm_common::Features;
|
||||
use wasm_common::{FuncIndex, FuncType, LocalFuncIndex, MemoryIndex, TableIndex};
|
||||
use wasmer_compiler::FunctionBodyData;
|
||||
use wasmer_compiler::TrapInformation;
|
||||
use wasmer_compiler::{Compilation, CompileError, CompiledFunction, Compiler};
|
||||
use wasmer_compiler::{Compilation, CompileError, FunctionBody, Compiler};
|
||||
use wasmer_compiler::{CompilerConfig, ModuleTranslationState, Target};
|
||||
use wasmer_runtime::Module;
|
||||
use wasmer_runtime::TrapCode;
|
||||
@ -68,7 +68,7 @@ impl Compiler for SinglepassCompiler {
|
||||
fn compile_wasm_trampolines(
|
||||
&self,
|
||||
_signatures: &[FuncType],
|
||||
) -> Result<Vec<CompiledFunction>, CompileError> {
|
||||
) -> Result<Vec<FunctionBody>, CompileError> {
|
||||
// Note: do not implement this yet
|
||||
Err(CompileError::Codegen(
|
||||
"Singlepass trampoline compilation not supported yet".to_owned(),
|
||||
|
Reference in New Issue
Block a user