diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-09-24 22:13:07 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-09-24 22:13:07 +0000 |
commit | 0c8e80607bc3296a4775f05c02f0d11df8e5cb04 (patch) | |
tree | 0aacd521a19fe87f388f011eb142062be86c78e3 /lib/Target/Alpha | |
parent | b5a32e2e8ce2f3de3a340c5a2dfcd3a159968466 (diff) | |
download | external_llvm-0c8e80607bc3296a4775f05c02f0d11df8e5cb04.zip external_llvm-0c8e80607bc3296a4775f05c02f0d11df8e5cb04.tar.gz external_llvm-0c8e80607bc3296a4775f05c02f0d11df8e5cb04.tar.bz2 |
Drop obsolete hook and change all usage to new interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha')
-rw-r--r-- | lib/Target/Alpha/AlphaAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AlphaAsmPrinter.cpp index d92317e..b1265af 100644 --- a/lib/Target/Alpha/AlphaAsmPrinter.cpp +++ b/lib/Target/Alpha/AlphaAsmPrinter.cpp @@ -149,7 +149,7 @@ bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) { // Print out labels for the function. const Function *F = MF.getFunction(); - SwitchToTextSection(getSectionForFunction(*F).c_str(), F); + SwitchToTextSection(TAI->SectionForGlobal(F).c_str(), F); EmitAlignment(4, F); switch (F->getLinkage()) { |