Use a SmallVector to reduce heap traffic. This speeds up bcreader 10%

llvm-svn: 34231
This commit is contained in:
Chris Lattner 2007-02-13 07:28:20 +00:00
parent 10eb59abd8
commit e786eaa3b0
1 changed files with 1 additions and 1 deletions

View File

@ -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) {}