mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
Use a SmallVector to reduce heap traffic. This speeds up bcreader 10%
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34231 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c06509f95
commit
1893952826
@ -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…
x
Reference in New Issue
Block a user