Mercurial > projects > ldc
diff gen/complex.h @ 617:634fbbdec390
Simplify complex number handling. Fixes bug with complex substraction.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 22 Sep 2008 20:29:18 +0200 |
parents | fbb1a366cfbc |
children | eef8ac26c66c |
line wrap: on
line diff
--- a/gen/complex.h Sun Sep 21 19:28:57 2008 +0200 +++ b/gen/complex.h Mon Sep 22 20:29:18 2008 +0200 @@ -14,7 +14,7 @@ void DtoComplexSet(LLValue* c, LLValue* re, LLValue* im); -void DtoGetComplexParts(DValue* c, LLValue*& re, LLValue*& im); +void DtoGetComplexParts(Loc& loc, Type* to, DValue* c, LLValue*& re, LLValue*& im); DValue* DtoComplexAdd(Loc& loc, Type* type, DValue* lhs, DValue* rhs); DValue* DtoComplexSub(Loc& loc, Type* type, DValue* lhs, DValue* rhs);