From a0678dc9ec2e59526c31511a7b76148acfd7aae5 Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Thu, 14 May 2009 17:23:55 +0200 Subject: [PATCH] Oups, fix assertion condition in disabled code from rev [1351]. --- gen/llvmhelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/llvmhelpers.cpp b/gen/llvmhelpers.cpp index dd0400ea..840083b4 100644 --- a/gen/llvmhelpers.cpp +++ b/gen/llvmhelpers.cpp @@ -1465,7 +1465,7 @@ size_t realignOffset(size_t offset, Type* type) 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