diff gen/llvmhelpers.h @ 933:d3a6f1a96731

Replace assertion with errormessage for unsupported calling conventions. like Pascal. See dstress/run/e/extern_10_A.d
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 04 Feb 2009 00:04:09 +0100
parents 545f54041d91
children 2ebac4750adb
line wrap: on
line diff
--- a/gen/llvmhelpers.h	Tue Feb 03 23:48:47 2009 +0100
+++ b/gen/llvmhelpers.h	Wed Feb 04 00:04:09 2009 +0100
@@ -113,7 +113,7 @@
 ////////////////////////////////////////////
 
 /// convert DMD calling conv to LLVM
-unsigned DtoCallingConv(LINK l);
+unsigned DtoCallingConv(Loc loc, LINK l);
 
 ///
 TypeFunction* DtoTypeFunction(DValue* fnval);