the swift.Slice type got removed a long time ago, being replaced with

what is now Swift.Array.  Update various internal stuff to refer to
Array instead of Slice.  NFC.


Swift SVN r14567
This commit is contained in:
Chris Lattner
2014-03-02 06:21:37 +00:00
parent aa337d4899
commit 11bedff2f3
14 changed files with 37 additions and 37 deletions

View File

@@ -1489,7 +1489,7 @@ RValue RValueEmitter::visitTupleShuffleExpr(TupleShuffleExpr *E,
assert(field.isVararg() && "Cannot initialize nonvariadic element");
// Okay, we have a varargs tuple element. All the remaining elements feed
// into the varargs portion of this, which is then constructed into a Slice
// into the varargs portion of this, which is then constructed into an Array
// through an informal protocol captured by the InjectionFn in the
// TupleShuffleExpr.
assert(E->getVarargsInjectionFunction() &&
@@ -1670,7 +1670,7 @@ RValue RValueEmitter::visitNewArrayExpr(NewArrayExpr *E, SGFContext C) {
// FIXME: We need to initialize the elements of the array that are now
// allocated.
// Finally, build and return a Slice instance using the object
// Finally, build and return an Array instance using the object
// header/base/count.
return RValue(SGF, E,
SGF.emitArrayInjectionCall(ObjectPtr, BasePtr, NumElements,