Add a sparse Switch usable instead of JumpTable to cranelift-frontend (#517)
* Add a sparse Switch usable instead of JumpTable to cranelift-frontend (fixes #438)
This commit is contained in:
@@ -177,12 +177,16 @@
|
||||
#![cfg_attr(not(feature = "std"), feature(alloc))]
|
||||
|
||||
extern crate cranelift_codegen;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
pub use frontend::{FunctionBuilder, FunctionBuilderContext};
|
||||
pub use switch::Switch;
|
||||
pub use variable::Variable;
|
||||
|
||||
mod frontend;
|
||||
mod ssa;
|
||||
mod switch;
|
||||
mod variable;
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
|
||||
Reference in New Issue
Block a user