mirror of
https://github.com/open-goal/jak-project
synced 2026-08-04 09:09:52 -04:00
[decompiler] clean up offline test program, reorganize decomp order (#895)
* make a new offline test * finish up offline test and fix crash bugs
This commit is contained in:
@@ -35,7 +35,7 @@ bool try_convert_lambda(const Function& parent_function,
|
||||
"ignored and is no longer required.",
|
||||
lab.name);
|
||||
}
|
||||
if (!other_func->ir2.env.has_local_vars()) {
|
||||
if (!other_func->ir2.env.has_local_vars() || !other_func->ir2.top_form) {
|
||||
// don't bother if we don't even have vars.
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user