mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Update homework 1 and 2
This commit is contained in:
11
src/opt/mem2reg.rs
Normal file
11
src/opt/mem2reg.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use crate::ir;
|
||||
use crate::*;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct Mem2reg {}
|
||||
|
||||
impl Optimize<ir::TranslationUnit> for Mem2reg {
|
||||
fn optimize(&mut self, _code: &mut ir::TranslationUnit) -> bool {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user