forked from OSchip/llvm-project
Use a SmallVector to reduce heap traffic. This speeds up bcreader 10%
llvm-svn: 34231
This commit is contained in:
parent
10eb59abd8
commit
e786eaa3b0
|
@ -80,7 +80,7 @@ public:
|
|||
/// globals section.
|
||||
/// @brief A list of values as a User of those Values.
|
||||
class ValueList : public User {
|
||||
std::vector<Use> Uses;
|
||||
SmallVector<Use, 32> Uses;
|
||||
public:
|
||||
ValueList() : User(Type::VoidTy, Value::ArgumentVal, 0, 0) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue