From ac2e7b033b6be724436fd87d9e1a641613082c87 Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Fri, 22 Jul 2011 12:51:23 +0400 Subject: [PATCH] Fixed compilation of lifetime.d --- dmd2/cast.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dmd2/cast.c b/dmd2/cast.c index dfc20e66..aa110a62 100644 --- a/dmd2/cast.c +++ b/dmd2/cast.c @@ -1704,6 +1704,10 @@ Lagain: if (t1n == t2n) ; +#if IN_LLVM + else if (t1n->equals(t2n)) + ; +#endif else if (t1n->ty == Tvoid) // pointers to void are always compatible t = t2; else if (t2n->ty == Tvoid)