}
return newLbl;
}
public Variable getRenamedVariable(Variable v) {
Variable newVar = this.varRenameMap.get(v);
if (newVar == null) {
IRExecutionScope m = this.callerCFG.getScope();
newVar = m.getNewInlineVariable();
if (v instanceof LocalVariable) {
// Frame load/store placement dataflow pass (and possible other passes later on) exploit
// information whether a variable is a temporary or a local/self variable.
// So, variable renaming for inlining has to preserve this information.
newVar = m.getLocalVariable(newVar.getName());
}
this.varRenameMap.put(v, newVar);
}
return newVar;
}