mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 06:54:31 -04:00
[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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user