Update lib/compiler-llvm/src/trampoline/wasm.rs

Co-authored-by: nlewycky <nick@wasmer.io>
This commit is contained in:
Syrus Akbary
2020-06-01 14:12:50 -07:00
committed by GitHub
parent 903c1b23be
commit 1b84525921

View File

@@ -36,7 +36,7 @@ impl FuncTrampoline {
ty: &FunctionType,
config: &LLVMConfig,
) -> Result<FunctionBody, CompileError> {
// The function type, used for the callbacks
// The function type, used for the callbacks.
let function = CompiledFunctionKind::FunctionCallTrampoline(ty.clone());
let module = self.ctx.create_module("");
let target_triple = config.target_triple();