projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5ab7e1
)
increment the function number in SetupMachineFunction
author
Chris Lattner
<sabre@nondot.org>
Mon, 21 Nov 2005 08:13:27 +0000
(08:13 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 21 Nov 2005 08:13:27 +0000
(08:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24461
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index 3b648a761161222ecb2d7581497559fdeaeef81e..86c3f4bb959e190d0e338bca0e7a7109bd72a2c3 100644
(file)
--- a/
lib/CodeGen/AsmPrinter.cpp
+++ b/
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.