Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
932:5e3bb0c3ea8b | 933:d3a6f1a96731 |
---|---|
111 //////////////////////////////////////////// | 111 //////////////////////////////////////////// |
112 // gen/tocall.cpp stuff below | 112 // gen/tocall.cpp stuff below |
113 //////////////////////////////////////////// | 113 //////////////////////////////////////////// |
114 | 114 |
115 /// convert DMD calling conv to LLVM | 115 /// convert DMD calling conv to LLVM |
116 unsigned DtoCallingConv(LINK l); | 116 unsigned DtoCallingConv(Loc loc, LINK l); |
117 | 117 |
118 /// | 118 /// |
119 TypeFunction* DtoTypeFunction(DValue* fnval); | 119 TypeFunction* DtoTypeFunction(DValue* fnval); |
120 | 120 |
121 /// | 121 /// |