diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-01 23:18:38 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-01 23:18:38 +0000 |
commit | 4ae641f4d12c60ee1aaca5e42b6de231c6a02c40 (patch) | |
tree | 76f97c15558ecdeb6cb91a6282320c169d52dae9 /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | |
parent | dc756858f92a397ed30362ba8251fec56479735f (diff) | |
download | external_llvm-4ae641f4d12c60ee1aaca5e42b6de231c6a02c40.zip external_llvm-4ae641f4d12c60ee1aaca5e42b6de231c6a02c40.tar.gz external_llvm-4ae641f4d12c60ee1aaca5e42b6de231c6a02c40.tar.bz2 |
Remove OptimizeForSize global. Use function attribute optsize.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp index 366a542..9415871 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -153,7 +153,7 @@ void X86ATTAsmPrinter::emitFunctionHeader(const MachineFunction &MF) { SwitchToSection(TAI->SectionForGlobal(F)); - unsigned FnAlign = OptimizeForSize ? 1 : 4; + unsigned FnAlign = 4; if (!F->isDeclaration() && F->hasFnAttr(Attribute::OptimizeForSize)) FnAlign = 1; switch (F->getLinkage()) { |