Moved things around a bit.

This commit is contained in:
Chris Fallin 2021-11-20 23:42:42 -08:00
parent 385f726094
commit 4cdd726275
2 changed files with 9 additions and 1 deletions

5
src/backend/mod.rs Normal file
View file

@ -0,0 +1,5 @@
//! Backend: IR to Wasm.
mod stackify;
pub(crate) use stackify::*;

View file

@ -1,4 +1,5 @@
//! IR-to-Wasm transform. //! Stackifier-like algorithm to recover (or create) structured
//! control flow out of a CFG.
use crate::{cfg::CFGInfo, ir::*}; use crate::{cfg::CFGInfo, ir::*};
use log::debug; use log::debug;
@ -210,3 +211,5 @@ impl Shape {
Shape::None Shape::None
} }
} }