diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-24 00:06:15 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-24 00:06:15 +0000 |
commit | 20bcaff6a7f93a9894f7233c449b016bafe93b26 (patch) | |
tree | d99b92af998a00799cf14a07d6040b5654b60cbe /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | |
parent | da43bcf624acb56a3d77bb5ae9a02728af032613 (diff) | |
download | external_llvm-20bcaff6a7f93a9894f7233c449b016bafe93b26.zip external_llvm-20bcaff6a7f93a9894f7233c449b016bafe93b26.tar.gz external_llvm-20bcaff6a7f93a9894f7233c449b016bafe93b26.tar.bz2 |
Put FN_NOTE_AlwaysInline and others in FnAttr namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56527 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 2c9975e..cada750 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -160,7 +160,7 @@ void X86ATTAsmPrinter::emitFunctionHeader(const MachineFunction &MF) { SwitchToTextSection(SectionName.c_str()); unsigned FnAlign = OptimizeForSize ? 1 : 4; - if (!F->isDeclaration() && F->hasNote(FN_NOTE_OptimizeForSize)) + if (!F->isDeclaration() && F->hasNote(FnAttr::OptimizeForSize)) FnAlign = 1; switch (F->getLinkage()) { default: assert(0 && "Unknown linkage type!"); |