mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
[Decompiler] Expression 5 (#218)
* new method of inline-array-class * up to new array * wip side effect stuff * prepare for pop barrier stuff * add pop barrier * add local vars hack to compiler * fix bug, make sort work * add test for array * bug fixes * another bug fix * refactoring env variable print for casts * more tweaks * updates * final cleanup * codacy fixes
This commit is contained in:
@@ -949,7 +949,8 @@ Form* try_sc_as_type_of(FormPool& pool, const Function& f, const ShortCircuit* v
|
||||
// remove the shift
|
||||
b0_ptr->pop_back();
|
||||
|
||||
auto obj = pool.alloc_single_element_form<SimpleAtomElement>(nullptr, shift->expr().get_arg(0));
|
||||
auto obj = pool.alloc_single_element_form<SimpleExpressionElement>(
|
||||
nullptr, shift->expr().get_arg(0).as_expr(), set_shift->dst().idx());
|
||||
auto type_op = pool.alloc_single_element_form<TypeOfElement>(nullptr, obj, clobber);
|
||||
auto op = pool.alloc_element<SetVarElement>(else_case->dst(), type_op, true);
|
||||
b0_ptr->push_back(op);
|
||||
|
||||
Reference in New Issue
Block a user