mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
Fix a very strange assertion message, patch by Christopher Lamb
CVS: ---------------------------------------------------------------------- git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae1998f32c
commit
2e3ab5726d
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user