diff gen/tollvm.h @ 1353:45aca7e7cc88

Remove struct padding when passing or returning in registers on x86-64 (extern(D) only)
author Frits van Bommel <fvbommel wxs.nl>
date Thu, 14 May 2009 20:36:55 +0200
parents 3d4581761b4c
children 46f6365a50d7
line wrap: on
line diff
--- a/gen/tollvm.h	Thu May 14 17:23:55 2009 +0200
+++ b/gen/tollvm.h	Thu May 14 20:36:55 2009 +0200
@@ -68,6 +68,8 @@
 void DtoAlignedStore(LLValue* src, LLValue* dst);
 LLValue* DtoBitCast(LLValue* v, const LLType* t, const char* name=0);
 LLConstant* DtoBitCast(LLConstant* v, const LLType* t);
+LLValue* DtoInsertValue(LLValue* aggr, LLValue* v, unsigned idx);
+LLValue* DtoExtractValue(LLValue* aggr, unsigned idx);
 
 // llvm::dyn_cast wrappers
 const LLPointerType* isaPointer(LLValue* v);