mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 14:36:52 -04:00
clang
This commit is contained in:
@@ -1177,10 +1177,11 @@ Form* try_sc_as_ash(FormPool& pool, Function& f, const ShortCircuit* vtx) {
|
||||
|
||||
// fix up the other ones:
|
||||
f.ir2.env.disable_use(branch->op()->condition().src(0).var()); // bgezl X, L
|
||||
auto& dsubu_var = dynamic_cast<SimpleExpressionElement*>(dsubu_set->src()->try_as_single_element())
|
||||
->expr()
|
||||
.get_arg(0)
|
||||
.var();
|
||||
auto& dsubu_var =
|
||||
dynamic_cast<SimpleExpressionElement*>(dsubu_set->src()->try_as_single_element())
|
||||
->expr()
|
||||
.get_arg(0)
|
||||
.var();
|
||||
f.ir2.env.disable_use(dsubu_var);
|
||||
|
||||
// and the def too
|
||||
|
||||
Reference in New Issue
Block a user