mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
CurrentFnName is now dead, remove it.
llvm-svn: 93612
This commit is contained in:
parent
bda0bbf7f9
commit
61a95137c9
@ -131,10 +131,9 @@ namespace llvm {
|
||||
///
|
||||
Mangler *Mang;
|
||||
|
||||
/// Cache of mangled name for current function. This is recalculated at the
|
||||
/// The symbol for the current function. This is recalculated at the
|
||||
/// beginning of each call to runOnMachineFunction().
|
||||
///
|
||||
std::string CurrentFnName; // FIXME: REMOVE.
|
||||
const MCSymbol *CurrentFnSym;
|
||||
|
||||
/// getCurrentSection() - Return the current section we are emitting to.
|
||||
|
@ -231,8 +231,7 @@ bool AsmPrinter::doFinalization(Module &M) {
|
||||
}
|
||||
|
||||
void AsmPrinter::SetupMachineFunction(MachineFunction &MF) {
|
||||
// What's my mangled name?
|
||||
CurrentFnName = Mang->getMangledName(MF.getFunction());
|
||||
// Get the function symbol.
|
||||
CurrentFnSym = GetGlobalValueSymbol(MF.getFunction());
|
||||
IncrementFunctionNumber();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user