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