mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 18:58:15 +00:00
Fix a very strange assertion message, patch by Christopher Lamb
CVS: ---------------------------------------------------------------------- llvm-svn: 36267
This commit is contained in:
parent
b76ba096fe
commit
bc43e8d0b3
@ -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