Use an ArrayRef when we can instead of passing in a SmallVectorImpl reference.

llvm-svn: 151150
4 files changed