File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ class Rewriter final {
406
406
// / possible)
407
407
// / (2) hoist the end_borrow
408
408
// / (3) delete the destroy_value
409
- void fold (Match, SmallVectorImpl <int > const & rewritableArgumentIndices);
409
+ void fold (Match, ArrayRef <int > rewritableArgumentIndices);
410
410
411
411
// The move_value [lexical] instruction that was added during the run.
412
412
//
@@ -503,8 +503,7 @@ bool Rewriter::createMove() {
503
503
return true ;
504
504
}
505
505
506
- void Rewriter::fold (Match candidate,
507
- SmallVectorImpl<int > const &rewritableArgumentIndices) {
506
+ void Rewriter::fold (Match candidate, ArrayRef<int > rewritableArgumentIndices) {
508
507
// First, rewrite the apply in terms of the move_value.
509
508
unsigned argumentNumber = 0 ;
510
509
for (auto index : rewritableArgumentIndices) {
You can’t perform that action at this time.
0 commit comments