diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-06 17:30:07 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-06 17:30:07 +0000 |
commit | e4d4b8c53388643ade7081acc7f4d555b16e14aa (patch) | |
tree | f70fcc7feca5b1c5ed205867bd3ff608fcce0726 /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | |
parent | 5fac55fafb53fde5c548bcd08e07418e9d8e549f (diff) | |
download | external_llvm-e4d4b8c53388643ade7081acc7f4d555b16e14aa.zip external_llvm-e4d4b8c53388643ade7081acc7f4d555b16e14aa.tar.gz external_llvm-e4d4b8c53388643ade7081acc7f4d555b16e14aa.tar.bz2 |
Remove unncessary isDeclaration() checks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57179 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 e66edca..5710add 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -154,7 +154,7 @@ void X86ATTAsmPrinter::emitFunctionHeader(const MachineFunction &MF) { SwitchToSection(TAI->SectionForGlobal(F)); unsigned FnAlign = 4; - if (!F->isDeclaration() && F->hasFnAttr(Attribute::OptimizeForSize)) + if (F->hasFnAttr(Attribute::OptimizeForSize)) FnAlign = 1; switch (F->getLinkage()) { default: assert(0 && "Unknown linkage type!"); |