diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-26 23:51:19 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-26 23:51:19 +0000 |
commit | 9eb525d4f9f12f266e18bf659c876bda59738807 (patch) | |
tree | c66f9b5510c21a7eb5e4b3d65b036651bbbca3bb /llvm/lib/AsmParser/LLLexer.cpp | |
parent | c4b02eb4e5aa028ddb6c45e4779555934ccdace8 (diff) | |
download | bcm5719-llvm-9eb525d4f9f12f266e18bf659c876bda59738807.tar.gz bcm5719-llvm-9eb525d4f9f12f266e18bf659c876bda59738807.zip |
Implement function notes as function attributes.
llvm-svn: 56716
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp index 16f4e158f57..39d62bf71cf 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/lib/AsmParser/LLLexer.cpp @@ -496,11 +496,9 @@ int LLLexer::LexIdentifier() { KEYWORD("readnone", READNONE); KEYWORD("readonly", READONLY); - KEYWORD("notes", FNNOTE); - KEYWORD("inline", INLINE); - KEYWORD("always", ALWAYS); - KEYWORD("never", NEVER); - KEYWORD("opt_size", OPTIMIZEFORSIZE); + KEYWORD("noinline", NOINLINE); + KEYWORD("alwaysinline", ALWAYSINLINE); + KEYWORD("optsize", OPTSIZE); KEYWORD("type", TYPE); KEYWORD("opaque", OPAQUE); |