mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
small speedup in the case where a smallvector is default ctor'd from
an empty vector. This speeds up llc slightly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40983 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76d708b76f
commit
02cee38647
@ -455,6 +455,7 @@ public:
|
||||
}
|
||||
|
||||
SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(NumTsAvailable) {
|
||||
if (!RHS.empty())
|
||||
operator=(RHS);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user