summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-21 08:13:27 +0000
committerChris Lattner <sabre@nondot.org>2005-11-21 08:13:27 +0000
commit08adbd13ff4b9d219a97883aabd624ae2632db69 (patch)
treef18be4254aa476ea4a1dac59c73c244a2732dd65 /llvm/lib/CodeGen/AsmPrinter.cpp
parent462263274fae626968ec94c49e48fb60e7f8faa9 (diff)
downloadbcm5719-llvm-08adbd13ff4b9d219a97883aabd624ae2632db69.tar.gz
bcm5719-llvm-08adbd13ff4b9d219a97883aabd624ae2632db69.zip
increment the function number in SetupMachineFunction
llvm-svn: 24461
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index 3b648a76116..86c3f4bb959 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -51,6 +51,7 @@ bool AsmPrinter::doFinalization(Module &M) {
void AsmPrinter::SetupMachineFunction(MachineFunction &MF) {
// What's my mangled name?
CurrentFnName = Mang->getValueName(MF.getFunction());
+ IncrementFunctionNumber();
}
// EmitAlignment - Emit an alignment directive to the specified power of two.
OpenPOWER on IntegriCloud