[decompiler] Fix deref bug and add some more new type pass stuff (#606)

* add copy on write and clean up some register stuff

* fix bug in multiple field lookup

* format
This commit is contained in:
water111
2021-06-18 21:10:00 -04:00
committed by GitHub
parent 409c1f5a7d
commit bc87c4426f
11 changed files with 256 additions and 78 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ void ObjectFileDB::ir2_register_usage_pass() {
func.warnings.bad_vf_dependency("{}", x.to_string());
}
if (x.get_kind() == Reg::COP2_MACRO_SPECIAL) {
if (x.get_kind() == Reg::SPECIAL) {
lg::error("Bad vf dependency on {} in {}", x.to_charp(), func.guessed_name.to_string());
func.warnings.bad_vf_dependency("{}", x.to_string());
}