mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 22:00:58 +00:00
Chris convinced me that the default size of the SmallVector (2) was too
small. Since it doesn't cost much to have 2 more (8 bytes), but not having them would require a malloc as soon as the third one is needed. Setting the default to 4 delays the malloc until the 5th parameter attribute. llvm-svn: 35793
This commit is contained in:
parent
218d43af10
commit
135f2f1261
@ -156,7 +156,7 @@ class ParamAttrsList {
|
||||
uint16_t index; ///< Index of the parameter for which the attributes apply
|
||||
};
|
||||
|
||||
SmallVector<ParamAttrsWithIndex,2> attrs; ///< The list of attributes
|
||||
SmallVector<ParamAttrsWithIndex,4> attrs; ///< The list of attributes
|
||||
/// @}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user