mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-14 22:38:46 +00:00
Update skeleton
This commit is contained in:
@@ -22,10 +22,12 @@ fn main() {
|
||||
|
||||
if matches.is_present("print") {
|
||||
kecc::test_write_c(&unit, Path::new(&input));
|
||||
return;
|
||||
}
|
||||
|
||||
if matches.is_present("irgen") {
|
||||
kecc::test_irgen(&unit, Path::new(&input));
|
||||
return;
|
||||
}
|
||||
|
||||
if matches.is_present("simplify-cfg") {
|
||||
@@ -43,4 +45,6 @@ fn main() {
|
||||
if matches.is_present("gvn") {
|
||||
todo!("test gvn");
|
||||
}
|
||||
|
||||
kecc::test_asmgen(&unit, Path::new(&input));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user