mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
Use a SmallVector to reduce heap traffic. This speeds up bcreader 10%
llvm-svn: 34231
This commit is contained in:
parent
3490afcd50
commit
2f015c1ccf
@ -80,7 +80,7 @@ public:
|
|||||||
/// globals section.
|
/// globals section.
|
||||||
/// @brief A list of values as a User of those Values.
|
/// @brief A list of values as a User of those Values.
|
||||||
class ValueList : public User {
|
class ValueList : public User {
|
||||||
std::vector<Use> Uses;
|
SmallVector<Use, 32> Uses;
|
||||||
public:
|
public:
|
||||||
ValueList() : User(Type::VoidTy, Value::ArgumentVal, 0, 0) {}
|
ValueList() : User(Type::VoidTy, Value::ArgumentVal, 0, 0) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user