diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-23 22:35:17 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-23 22:35:17 +0000 |
commit | d9b4a5f859188cbb168c223071b413e58c53c925 (patch) | |
tree | 04fec821fbc9cdc4f37ab86adc1dcfeb3243d644 /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | |
parent | b2c3e3fdd9987fc2d08eb8f7892db2cbc7ec74d9 (diff) | |
download | external_llvm-d9b4a5f859188cbb168c223071b413e58c53c925.zip external_llvm-d9b4a5f859188cbb168c223071b413e58c53c925.tar.gz external_llvm-d9b4a5f859188cbb168c223071b413e58c53c925.tar.bz2 |
Use parameter attribute store (soon to be renamed) for
Function Notes also. Function notes are stored at index ~0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56511 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 aae38a0..a783bd2 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->hasNote(FN_NOTE_OptimizeForSize)) + if (F->hasNote(ParamAttr::FN_NOTE_OptimizeForSize)) FnAlign = 1; switch (F->getLinkage()) { default: assert(0 && "Unknown linkage type!"); |