diff gen/complex.h @ 107:3efbcc81ba45 trunk

[svn r111] Fixed most problems with complex number support and added typeinfo for them. Added typeinfo ti_C. Did some changes to the way expressions that have both lvalue and rvalue LLVM values are handled.
author lindquist
date Tue, 20 Nov 2007 00:02:35 +0100
parents 4d1e9eb001e0
children a64becf2a702
line wrap: on
line diff
--- a/gen/complex.h	Mon Nov 19 06:01:48 2007 +0100
+++ b/gen/complex.h	Tue Nov 20 00:02:35 2007 +0100
@@ -17,6 +17,8 @@
 void DtoComplexAssign(llvm::Value* l, llvm::Value* r);
 void DtoComplexSet(llvm::Value* c, llvm::Value* re, llvm::Value* im);
 
+void DtoGetComplexParts(DValue* c, llvm::Value*& re, llvm::Value*& im);
+
 DValue* DtoComplexAdd(Type* type, DValue* lhs, DValue* rhs);
 DValue* DtoComplexSub(Type* type, DValue* lhs, DValue* rhs);
 DValue* DtoComplexMul(Type* type, DValue* lhs, DValue* rhs);