1 //! Code generation library for Winch. 2 3 // Unless this library is compiled with `all-arch`, the rust compiler 4 // is going to emit dead code warnings. This directive is fine as long 5 // as we configure to run CI at least once with the `all-arch` feature 6 // enabled. 7 #![cfg_attr(not(feature = "all-arch"), allow(dead_code))] 8 9 mod abi; 10 pub use codegen::{BuiltinFunctions, FuncEnv}; 11 mod codegen; 12 mod frame; 13 pub mod isa; 14 pub use isa::*; 15 mod masm; 16 mod regalloc; 17 mod regset; 18 mod stack; 19 mod trampoline; 20 pub use trampoline::TrampolineKind; 21 mod visitor; 22