Mercurial > projects > ldc
diff gen/llvmhelpers.cpp @ 1355:c5410f294c89
Erm... Revert the rev [1352] change, the original code was correct ...
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Fri, 15 May 2009 15:30:59 +0200 |
parents | b9f5f7c5db73 |
children | 59c2aa9def23 |
line wrap: on
line diff
--- a/gen/llvmhelpers.cpp Thu May 14 20:40:56 2009 +0200 +++ b/gen/llvmhelpers.cpp Fri May 15 15:30:59 2009 +0200 @@ -1465,7 +1465,7 @@ if (alignsize != alignsize2) { - assert(alignsize2 > alignsize && "this is not good, the D and LLVM " + assert(alignsize > alignsize2 && "this is not good, the D and LLVM " "type alignments differ, but LLVM's is bigger! This will break " "the type mapping algorithms"); // don't try and align the offset, and let the mappers pad 100% manually