diff gen/tollvm.h @ 585:fbb1a366cfbc

Complex number should now follow the D ABI on x86. They're also treated as first class values now. Big change.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 09 Sep 2008 16:49:47 -0700
parents a34078905d01
children 1b62222581fb
line wrap: on
line diff
--- a/gen/tollvm.h	Mon Sep 08 20:38:55 2008 +0200
+++ b/gen/tollvm.h	Tue Sep 09 16:49:47 2008 -0700
@@ -60,7 +60,6 @@
 LLConstant* DtoConstBool(bool);
 
 // llvm wrappers
-bool DtoCanLoad(LLValue* ptr);
 LLValue* DtoLoad(LLValue* src, const char* name=0);
 void DtoStore(LLValue* src, LLValue* dst);
 LLValue* DtoBitCast(LLValue* v, const LLType* t, const char* name=0);
@@ -93,6 +92,9 @@
 unsigned char getABITypeAlign(const LLType* t);
 unsigned char getPrefTypeAlign(const LLType* t);
 
+// pair type helpers
+LLValue* DtoAggrPair(const LLType* type, LLValue* V1, LLValue* V2, const char* name = 0);
+
 /**
  * Generates a call to llvm.memset.i32 (or i64 depending on architecture).
  * @param dst Destination memory.