Update skeleton

This commit is contained in:
Jeehoon Kang
2020-05-29 21:27:35 +09:00
parent 599fb7ca35
commit 4c850d5801
13 changed files with 398 additions and 521 deletions

View File

@@ -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));
}