changeset 1352:b9f5f7c5db73

Oups, fix assertion condition in disabled code from rev [1351].
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Thu, 14 May 2009 17:23:55 +0200
parents 8d501abecd24
children 45aca7e7cc88
files gen/llvmhelpers.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gen/llvmhelpers.cpp	Thu May 14 17:20:17 2009 +0200
+++ b/gen/llvmhelpers.cpp	Thu May 14 17:23:55 2009 +0200
@@ -1465,7 +1465,7 @@
 
     if (alignsize != alignsize2)
     {
-        assert(alignsize > alignsize2 && "this is not good, the D and LLVM "
+        assert(alignsize2 > alignsize && "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