mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
add a helper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc78d3a800
commit
310fbbf7f7
@ -161,6 +161,10 @@ class ParamAttrsList : public FoldingSetNode {
|
||||
return attrs[attr_index].index;
|
||||
}
|
||||
|
||||
uint16_t getParamAttrsAtIndex(unsigned attr_index) const {
|
||||
return attrs[attr_index].attrs;
|
||||
}
|
||||
|
||||
/// Determines how many parameter attributes are set in this ParamAttrsList.
|
||||
/// This says nothing about how many parameters the function has. It also
|
||||
/// says nothing about the highest parameter index that has attributes.
|
||||
|
Loading…
x
Reference in New Issue
Block a user