mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-30 22:41:03 +00:00
This is in line with the singlepass-backend to be able to use LLVM MCG with a StreamingCompiler.
23 lines
597 B
Rust
23 lines
597 B
Rust
#![deny(unused_imports, unused_variables, unused_unsafe, unreachable_patterns)]
|
|
#![cfg_attr(nightly, feature(unwind_attributes))]
|
|
|
|
mod backend;
|
|
mod code;
|
|
mod intrinsics;
|
|
mod platform;
|
|
mod read_info;
|
|
mod state;
|
|
mod trampolines;
|
|
|
|
pub use code::LLVMFunctionCodeGenerator as FunctionCodeGenerator;
|
|
pub use code::LLVMModuleCodeGenerator as ModuleCodeGenerator;
|
|
|
|
use wasmer_runtime_core::codegen::SimpleStreamingCompilerGen;
|
|
|
|
pub type LLVMCompiler = SimpleStreamingCompilerGen<
|
|
code::LLVMModuleCodeGenerator,
|
|
code::LLVMFunctionCodeGenerator,
|
|
backend::LLVMBackend,
|
|
code::CodegenError,
|
|
>;
|