[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 -1
View File
@@ -164,7 +164,7 @@ std::optional<TypeSpec> get_typecast_for_atom(const SimpleAtom& atom,
const Env& env,
const TypeSpec& expected_type,
int my_idx) {
auto type_info = env.dts->ts.lookup_type(expected_type);
auto type_info = env.dts->ts.lookup_type_allow_partial_def(expected_type);
switch (atom.get_kind()) {
case SimpleAtom::Kind::VARIABLE: {
if (atom.var().reg().get_kind() == Reg::VF) {