mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
Update lib/compiler-llvm/src/config.rs
Co-authored-by: nlewycky <nick@wasmer.io>
This commit is contained in:
@@ -27,7 +27,7 @@ pub enum CompiledFunctionKind {
|
|||||||
DynamicFunctionTrampoline(FunctionType),
|
DynamicFunctionTrampoline(FunctionType),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Callbacks to the different LLVM compilation phases
|
/// Callbacks to the different LLVM compilation phases.
|
||||||
pub trait LLVMCallbacks: Send + Sync {
|
pub trait LLVMCallbacks: Send + Sync {
|
||||||
fn preopt_ir(&self, function: &CompiledFunctionKind, module: &InkwellModule);
|
fn preopt_ir(&self, function: &CompiledFunctionKind, module: &InkwellModule);
|
||||||
fn postopt_ir(&self, function: &CompiledFunctionKind, module: &InkwellModule);
|
fn postopt_ir(&self, function: &CompiledFunctionKind, module: &InkwellModule);
|
||||||
|
|||||||
Reference in New Issue
Block a user