diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-09 06:17:21 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-09 06:17:21 +0000 |
commit | 5694b6e90eaf94fa7a21f101a8e4424d813a85ce (patch) | |
tree | 98d20adc25b36faa5f6fe589d942cf04173281d3 /lib/AsmParser/ParserInternals.h | |
parent | 7b5d466c88aacdf1c11a1651a00d2c0fa29fb4d6 (diff) |
For PR1146:
Adapt handling of parameter attributes to use the new ParamAttrsList class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/ParserInternals.h')
-rw-r--r-- | lib/AsmParser/ParserInternals.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/AsmParser/ParserInternals.h b/lib/AsmParser/ParserInternals.h index 6396d94d25..2b50cf6d55 100644 --- a/lib/AsmParser/ParserInternals.h +++ b/lib/AsmParser/ParserInternals.h @@ -17,6 +17,7 @@ #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" +#include "llvm/ParameterAttributes.h" #include "llvm/Function.h" #include "llvm/Instructions.h" #include "llvm/Assembly/Parser.h" @@ -231,13 +232,13 @@ struct ValID { struct TypeWithAttrs { llvm::PATypeHolder *Ty; - FunctionType::ParameterAttributes Attrs; + uint16_t Attrs; }; typedef std::vector<TypeWithAttrs> TypeWithAttrsList; struct ArgListEntry { - FunctionType::ParameterAttributes Attrs; + uint16_t Attrs; llvm::PATypeHolder *Ty; char *Name; }; @@ -246,7 +247,7 @@ typedef std::vector<struct ArgListEntry> ArgListType; struct ValueRefListEntry { Value *Val; - FunctionType::ParameterAttributes Attrs; + uint16_t Attrs; }; typedef std::vector<ValueRefListEntry> ValueRefList; |