summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-28 01:06:02 +0000
committerChris Lattner <sabre@nondot.org>2010-04-28 01:06:02 +0000
commit72bdee4c10d6b8afb83837950d771ef2fac4a0cb (patch)
tree8b7912c97474c1ee1fd9a17e83265b2cde922c3a /llvm/lib
parent9e06e53fc6a61a292f58ed585059c145acee67ab (diff)
downloadbcm5719-llvm-72bdee4c10d6b8afb83837950d771ef2fac4a0cb.tar.gz
bcm5719-llvm-72bdee4c10d6b8afb83837950d771ef2fac4a0cb.zip
remove a dead argument to EmitAlignment.
llvm-svn: 102483
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 2e407531dc9..5f8c804f5b6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1158,8 +1158,7 @@ void AsmPrinter::EmitLabelOffsetDifference(const MCSymbol *Hi, uint64_t Offset,
// Align = std::max(Align, ForcedAlignBits);
//
void AsmPrinter::EmitAlignment(unsigned NumBits, const GlobalValue *GV,
- unsigned ForcedAlignBits,
- bool UseFillExpr) const {
+ unsigned ForcedAlignBits) const {
if (GV && GV->getAlignment())
NumBits = Log2_32(GV->getAlignment());
NumBits = std::max(NumBits, ForcedAlignBits);
OpenPOWER on IntegriCloud