waffle/src/ir.rs

22 lines
382 B
Rust
Raw Normal View History

2021-11-13 06:16:54 +00:00
//! Intermediate representation for Wasm.
2022-11-02 03:43:47 +00:00
use crate::entity;
2021-11-13 06:16:54 +00:00
2022-11-02 03:43:47 +00:00
pub use wasmparser::Type;
2021-11-13 06:16:54 +00:00
2022-11-02 03:43:47 +00: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 22:23:22 +00:00
2022-11-02 03:51:18 +00:00
mod module;
pub use module::*;
mod func;
pub use func::*;
mod value;
pub use value::*;