remove a dead argument to EmitAlignment.
authorChris Lattner <sabre@nondot.org>
Wed, 28 Apr 2010 01:06:02 +0000 (01:06 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 Apr 2010 01:06:02 +0000 (01:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102483 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp

index 17048f68dbc95d5118cfb9e6b38e9c03005a2e75..43643fc9fee22ec7819dce0d4aee3ba7024721d0 100644 (file)
@@ -206,10 +206,7 @@ namespace llvm {
     /// an explicit alignment requested, it will unconditionally override the
     /// alignment request.  However, if ForcedAlignBits is specified, this value
     /// has final say: the ultimate alignment will be the max of ForcedAlignBits
-    /// and the alignment computed with NumBits and the global.  If UseFillExpr
-    /// is true, it also emits an optional second value FillValue which the
-    /// assembler uses to fill gaps to match alignment for text sections if the
-    /// has specified a non-zero fill value.
+    /// and the alignment computed with NumBits and the global.
     ///
     /// The algorithm is:
     ///     Align = NumBits;
@@ -217,8 +214,7 @@ namespace llvm {
     ///     Align = std::max(Align, ForcedAlignBits);
     ///
     void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0,
-                       unsigned ForcedAlignBits = 0,
-                       bool UseFillExpr = true) const;
+                       unsigned ForcedAlignBits = 0) const;
     
     /// EmitBasicBlockStart - This method prints the label for the specified
     /// MachineBasicBlock, an alignment (if present) and a comment describing
index 2e407531dc9ea08ce0ac1a35f00b128ea6884987..5f8c804f5b60a39566f277f23d08a0ceab724f78 100644 (file)
@@ -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);