Fix a very strange assertion message, patch by Christopher Lamb

CVS: ----------------------------------------------------------------------

llvm-svn: 36267
This commit is contained in:
Chris Lattner 2007-04-20 03:27:36 +00:00
parent b76ba096fe
commit bc43e8d0b3

View File

@ -35,7 +35,7 @@ namespace llvm {
// aligned to the specified power of two boundary.
void align(unsigned Boundary) {
assert(Boundary && (Boundary & (Boundary - 1)) == 0 &&
"Must alitypedef std::vector<unsigned char> DataBuffer;gn to 2^k boundary");
"Must align to 2^k boundary");
size_t Size = Output.size();
if (Size & (Boundary - 1)) {