public boolean canBeDeletedFromScope(IRScope s) { if (!isDeletable()) { return false; } if (this instanceof ResultInstr) { Variable r = ((ResultInstr) this).getResult(); // An escaped binding needs to preserve lvars since // consumers of that binding may access lvars. if (s.bindingHasEscaped()) return !(r instanceof LocalVariable); } return true; }
public boolean canBeDeletedFromScope(IRScope s) { if (!isDeletable()) { return false; } if (this instanceof ResultInstr) { Variable r = ((ResultInstr) this).getResult(); // An escaped binding needs to preserve lvars since // consumers of that binding may access lvars. if (s.bindingHasEscaped()) return !(r instanceof LocalVariable); } return true; }
living.clear(dv); } else if (i.isDeletable()) { } else if (i.isDeletable()) {
living.clear(dv); } else if (i.isDeletable()) { } else if (i.isDeletable()) {