OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c06509
)
Use a SmallVector to reduce heap traffic. This speeds up bcreader 10%
author
Chris Lattner
<sabre@nondot.org>
Tue, 13 Feb 2007 07:28:20 +0000
(07:28 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 13 Feb 2007 07:28:20 +0000
(07:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34231
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/Reader.h
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/Reader.h
b/lib/Bytecode/Reader/Reader.h
index
ca966f1
..
a8e879c
100644
(file)
--- a/
lib/Bytecode/Reader/Reader.h
+++ b/
lib/Bytecode/Reader/Reader.h
@@
-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) {}