projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size.
[oota-llvm.git]
/
lib
/
CodeGen
/
LiveInterval.cpp
diff --git
a/lib/CodeGen/LiveInterval.cpp
b/lib/CodeGen/LiveInterval.cpp
index 861e99b785db7787e1a54722444a7c373832bb18..6be6bf3688a31af09cd260f10ea92c45146495d0 100644
(file)
--- a/
lib/CodeGen/LiveInterval.cpp
+++ b/
lib/CodeGen/LiveInterval.cpp
@@
-415,7
+415,7
@@
void LiveInterval::removeValNo(VNInfo *ValNo) {
void LiveInterval::join(LiveInterval &Other,
const int *LHSValNoAssignments,
const int *RHSValNoAssignments,
- SmallVector
<VNInfo*, 16
> &NewVNInfo,
+ SmallVector
Impl<VNInfo *
> &NewVNInfo,
MachineRegisterInfo *MRI) {
verify();