public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } if (refs[1] != null) { refs[1] = refs[1].simplify(); if (refs[1] instanceof Variable) { Variable v = (Variable) refs[1]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } }
public void doPass2() { refs[0] = refs[0].simplify(); if (refs.length > 1 && refs[1] != null) { refs[1] = refs[1].simplify(); } }
    public void doPass2(BootableHashMap liveVariables) {        refs[0] = refs[0].simplify();        if (refs[0] instanceof Variable) {            Variable v = (Variable) refs[0];            v.setLastUseAddress(this.getAddress());            liveVariables.put(v, v);        }        if (refs[1] != null) {            refs[1] = refs[1].simplify();            if (refs[1] instanceof Variable) {                Variable v = (Variable) refs[1];                v.setLastUseAddress(this.getAddress());                liveVariables.put(v, v);            }        }    }