mirror of
https://github.com/open-goal/jak-project
synced 2026-07-12 07:38:53 -04:00
[compiler/decompiler] Take the address of a variable (#554)
* support taking the address of variables * partially working stack variables * implement type cast stuff * remove final
This commit is contained in:
@@ -276,7 +276,7 @@ FormElement* fix_up_vector_inline_zero(LetElement* in, const Env& env, FormPool&
|
||||
}
|
||||
|
||||
Form* src = in->entries().at(0).src;
|
||||
auto src_as_stackvar = src->try_as_element<StackVarDefElement>();
|
||||
auto src_as_stackvar = src->try_as_element<StackStructureDefElement>();
|
||||
if (!src_as_stackvar) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user