mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
Fixes a little optimization bug
This commit is contained in:
parent
601fcf0824
commit
06e466b01b
|
@ -137,6 +137,9 @@ public class VariableUsageGraphBuilder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void visit(GetFieldInstruction insn) {
|
public void visit(GetFieldInstruction insn) {
|
||||||
|
if (insn.getInstance() != null) {
|
||||||
|
use(insn.getReceiver(), insn.getInstance());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user