Return ConstantVector to 2.5 API.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2009-07-28 21:19:26 +00:00
parent e7c329bf4b
commit af7ec97587
21 changed files with 122 additions and 138 deletions

View File

@@ -264,7 +264,7 @@ static Constant *FoldBitCast(Constant *C, const Type *DestTy,
}
}
return Context.getConstantVector(Result.data(), Result.size());
return ConstantVector::get(Result.data(), Result.size());
}
}