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:
6b33cfc
)
Call getFunctionNumber() instead of referencing FunctionNumber directly,
author
Dan Gohman
<gohman@apple.com>
Mon, 8 Oct 2007 21:27:12 +0000
(21:27 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 8 Oct 2007 21:27:12 +0000
(21:27 +0000)
for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42769
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 0ad0ec7b1f136cfc544943a9cfea75da1e04a2fa..5eb85cd21a5d49757742d4669b336f30ddfe4df3 100644
(file)
--- a/
lib/CodeGen/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter.cpp
@@
-1209,7
+1209,7
@@
bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,
void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
bool printColon,
bool printComment) const {
- O << TAI->getPrivateGlobalPrefix() << "BB" <<
FunctionNumber
<< "_"
+ O << TAI->getPrivateGlobalPrefix() << "BB" <<
getFunctionNumber()
<< "_"
<< MBB->getNumber();
if (printColon)
O << ':';