waffle/src/ir.rs

22 lines
382 B
Rust
Raw Normal View History

2021-11-13 00:16:54 -06:00
//! Intermediate representation for Wasm.
2022-11-01 22:43:47 -05:00
use crate::entity;
2021-11-13 00:16:54 -06:00
2022-11-01 22:43:47 -05:00
pub use wasmparser::Type;
2021-11-13 00:16:54 -06:00
2022-11-01 22:43:47 -05:00
entity!(Signature, "sig");
entity!(Func, "func");
entity!(Block, "block");
entity!(Local, "local");
entity!(Global, "global");
entity!(Table, "table");
entity!(Memory, "memory");
entity!(Value, "value");
2021-11-13 16:23:22 -06:00
2022-11-01 22:51:18 -05:00
mod module;
pub use module::*;
mod func;
pub use func::*;
mod value;
pub use value::*;