changeset 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 701d11a1e7b1
children 59c2aa9def23
files gen/llvmhelpers.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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