File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/SILOptimizer/Transforms Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 41
41
#include " llvm/ADT/DenseSet.h"
42
42
#include " llvm/ADT/STLExtras.h"
43
43
#include " llvm/ADT/Statistic.h"
44
+ #include " llvm/ADT/SmallVector.h"
44
45
#include " llvm/Support/Debug.h"
45
46
#include < algorithm>
46
47
#include < queue>
@@ -402,11 +403,11 @@ class StackAllocationPromoter {
402
403
DeallocStackInst *dsi;
403
404
404
405
// / All the dealloc_stack instructions.
405
- SmallVector<DeallocStackInst *> dsis;
406
+ llvm:: SmallVector<DeallocStackInst *> dsis;
406
407
407
408
// / The lexical begin_borrow instructions that were created to track the
408
409
// / lexical lifetimes introduced by the alloc_stack, if it is lexical.
409
- SmallVector<SILBasicBlock *> lexicalBBIBlocks;
410
+ llvm:: SmallVector<SILBasicBlock *> lexicalBBIBlocks;
410
411
411
412
// / Dominator info.
412
413
DominanceInfo *domInfo;
@@ -792,7 +793,7 @@ void StackAllocationPromoter::fixPhiPredBlock(BlockSetVector &phiBlocks,
792
793
793
794
LLVM_DEBUG (llvm::dbgs () << " *** Found the definition: " << *def.copy );
794
795
795
- SmallVector<SILValue> vals;
796
+ llvm:: SmallVector<SILValue> vals;
796
797
vals.push_back (def.stored );
797
798
if (shouldAddLexicalLifetime (asi)) {
798
799
vals.push_back (def.borrow );
You can’t perform that action at this time.
0 commit comments