From 3e15c659d17603ad5c5263500a64898b0daad1f3 Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Fri, 6 Mar 2009 17:00:34 +0100 Subject: [PATCH] Fix a typo --- gen/abi-x86-64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/abi-x86-64.cpp b/gen/abi-x86-64.cpp index dad7b2e4..8a94af1f 100644 --- a/gen/abi-x86-64.cpp +++ b/gen/abi-x86-64.cpp @@ -616,7 +616,7 @@ bool X86_64TargetABI::passByVal(Type* t) { // http://llvm.org/bugs/show_bug.cgi?id=3741 return true; } else { - assert(t == Type::tfloat80 || t == Type::timaginary80 || t->size() < 8 + assert(t == Type::tfloat80 || t == Type::timaginary80 || t->size() <= 8 && "What other big types are there?"); // other than static arrays... // In any case, they shouldn't be represented as structs in LLVM: assert(!isaStruct(DtoType(t)));