mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Organize crates
This commit is contained in:
parent
6ddef21fec
commit
f9d91aa38e
71 changed files with 6 additions and 14 deletions
|
@ -1,17 +0,0 @@
|
|||
use crate::hir::HIR;
|
||||
use crate::error::{CompileWarnings};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct HIROptimizer {
|
||||
|
||||
}
|
||||
|
||||
impl HIROptimizer {
|
||||
pub fn fold_constants(&mut self, mut _hir: HIR) -> HIR { todo!() }
|
||||
|
||||
pub fn eliminate_unused_variables(&mut self, mut _hir: HIR) -> (HIR, CompileWarnings) { todo!() }
|
||||
|
||||
pub fn eliminate_dead_code(&mut self, mut _hir: HIR) -> (HIR, CompileWarnings) {
|
||||
todo!()
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue