[decompiler] jak2-style rtype-of, setup gcommon stuff (#1616)

* [decompiler] support jak2-style rtype-of, get gcommon decompiling to use for tests

* more decompiler debugging
This commit is contained in:
water111
2022-07-05 20:39:24 -04:00
committed by GitHub
parent 6446389263
commit 822dc73970
11 changed files with 904 additions and 363 deletions
+1 -2
View File
@@ -1552,8 +1552,7 @@ void AshElement::get_modified_regs(RegSet&) const {}
// TypeOfElement
/////////////////////////////
TypeOfElement::TypeOfElement(Form* _value, std::optional<RegisterAccess> _clobber)
: value(_value), clobber(_clobber) {
TypeOfElement::TypeOfElement(Form* _value) : value(_value) {
value->parent_element = this;
}