[Decompiler] Fix printing of lets (#314)

* fix let prints and windows warnings

* missing include for windows

* windows again
This commit is contained in:
water111
2021-03-07 12:01:59 -05:00
committed by GitHub
parent d8a82eeca1
commit 9074a35b9b
33 changed files with 158 additions and 86 deletions
+4
View File
@@ -614,6 +614,7 @@ goos::Object BranchDelay::to_form(const LinkedObjectFile& file) const {
return pretty_print::build_list("unknown-branch-delay");
default:
assert(false);
return {};
}
}
@@ -669,6 +670,7 @@ int Condition::num_args() const {
return 0;
default:
assert(false);
return -1;
}
}
@@ -867,6 +869,7 @@ goos::Object Condition::to_form(const LinkedObjectFile& file) const {
return pretty_print::to_symbol(condtion_operator);
} else {
assert(false);
return {};
}
}
@@ -992,6 +995,7 @@ goos::Object IR_AsmReg::to_form(const LinkedObjectFile& file) const {
return pretty_print::to_symbol("ACC");
default:
assert(false);
return {};
}
}