mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169651 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -85,7 +85,7 @@ private:
|
||||
BasicBlockListType BasicBlocks; ///< The basic blocks
|
||||
mutable ArgumentListType ArgumentList; ///< The formal arguments
|
||||
ValueSymbolTable *SymTab; ///< Symbol table of args/instructions
|
||||
AttrListPtr AttributeList; ///< Parameter attributes
|
||||
AttributeSet AttributeList; ///< Parameter attributes
|
||||
|
||||
// HasLazyArguments is stored in Value::SubclassData.
|
||||
/*bool HasLazyArguments;*/
|
||||
@@ -162,11 +162,11 @@ public:
|
||||
|
||||
/// getAttributes - Return the attribute list for this Function.
|
||||
///
|
||||
const AttrListPtr &getAttributes() const { return AttributeList; }
|
||||
const AttributeSet &getAttributes() const { return AttributeList; }
|
||||
|
||||
/// setAttributes - Set the attribute list for this Function.
|
||||
///
|
||||
void setAttributes(const AttrListPtr &attrs) { AttributeList = attrs; }
|
||||
void setAttributes(const AttributeSet &attrs) { AttributeList = attrs; }
|
||||
|
||||
/// getFnAttributes - Return the function attributes for querying.
|
||||
///
|
||||
@@ -178,7 +178,7 @@ public:
|
||||
///
|
||||
void addFnAttr(Attributes::AttrVal N) {
|
||||
// Function Attributes are stored at ~0 index
|
||||
addAttribute(AttrListPtr::FunctionIndex, Attributes::get(getContext(), N));
|
||||
addAttribute(AttributeSet::FunctionIndex, Attributes::get(getContext(), N));
|
||||
}
|
||||
|
||||
/// removeFnAttr - Remove function attributes from this function.
|
||||
|
||||
Reference in New Issue
Block a user