From 659f088c4f3afc3fe7a25291c050246a2c17e4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Vavrus=CC=8Ca?= Date: Wed, 24 Jul 2019 16:04:47 -0700 Subject: [PATCH] llvm-backend: export FunctionCodeGenerator and ModuleCodeGenerator This is in line with the singlepass-backend to be able to use LLVM MCG with a StreamingCompiler. --- lib/llvm-backend/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/llvm-backend/src/lib.rs b/lib/llvm-backend/src/lib.rs index 6d8816af8..0c6d00006 100644 --- a/lib/llvm-backend/src/lib.rs +++ b/lib/llvm-backend/src/lib.rs @@ -9,6 +9,9 @@ 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<