Mercurial > projects > ldc
comparison dmd2/idgen.c @ 1452:638d16625da2
LDC 2 compiles again.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Sat, 30 May 2009 17:23:32 +0100 |
parents | 03d7c4aac654 |
children | e4f7b5d9c68a |
comparison
equal
deleted
inserted
replaced
1423:42bd767ec5a4 | 1452:638d16625da2 |
---|---|
58 { "ClassInfo" }, | 58 { "ClassInfo" }, |
59 { "classinfo" }, | 59 { "classinfo" }, |
60 { "typeinfo" }, | 60 { "typeinfo" }, |
61 { "outer" }, | 61 { "outer" }, |
62 { "Exception" }, | 62 { "Exception" }, |
63 { "Throwable" }, | |
63 { "withSym", "__withSym" }, | 64 { "withSym", "__withSym" }, |
64 { "result", "__result" }, | 65 { "result", "__result" }, |
65 { "returnLabel", "__returnLabel" }, | 66 { "returnLabel", "__returnLabel" }, |
66 { "delegate" }, | 67 { "delegate" }, |
67 { "line" }, | 68 { "line" }, |
85 { "TypeInfo_Function" }, | 86 { "TypeInfo_Function" }, |
86 { "TypeInfo_Delegate" }, | 87 { "TypeInfo_Delegate" }, |
87 { "TypeInfo_Tuple" }, | 88 { "TypeInfo_Tuple" }, |
88 { "TypeInfo_Const" }, | 89 { "TypeInfo_Const" }, |
89 { "TypeInfo_Invariant" }, | 90 { "TypeInfo_Invariant" }, |
91 { "TypeInfo_Shared" }, | |
90 { "elements" }, | 92 { "elements" }, |
91 { "_arguments_typeinfo" }, | 93 { "_arguments_typeinfo" }, |
92 { "_arguments" }, | 94 { "_arguments" }, |
93 { "_argptr" }, | 95 { "_argptr" }, |
94 { "_match" }, | 96 { "_match" }, |
206 | 208 |
207 // For foreach | 209 // For foreach |
208 { "apply", "opApply" }, | 210 { "apply", "opApply" }, |
209 { "applyReverse", "opApplyReverse" }, | 211 { "applyReverse", "opApplyReverse" }, |
210 | 212 |
213 #if 1 | |
214 { "Fempty", "empty" }, | |
215 { "Fhead", "front" }, | |
216 { "Ftoe", "back" }, | |
217 { "Fnext", "popFront" }, | |
218 { "Fretreat", "popBack" }, | |
219 #else | |
211 { "Fempty", "empty" }, | 220 { "Fempty", "empty" }, |
212 { "Fhead", "head" }, | 221 { "Fhead", "head" }, |
213 { "Ftoe", "toe" }, | 222 { "Ftoe", "toe" }, |
214 { "Fnext", "next" }, | 223 { "Fnext", "next" }, |
215 { "Fretreat", "retreat" }, | 224 { "Fretreat", "retreat" }, |
225 #endif | |
216 | 226 |
217 { "adDup", "_adDupT" }, | 227 { "adDup", "_adDupT" }, |
218 { "adReverse", "_adReverse" }, | 228 { "adReverse", "_adReverse" }, |
219 | 229 |
220 // For internal functions | 230 // For internal functions |
227 { "GNU_asm" }, | 237 { "GNU_asm" }, |
228 { "lib" }, | 238 { "lib" }, |
229 { "msg" }, | 239 { "msg" }, |
230 { "startaddress" }, | 240 { "startaddress" }, |
231 | 241 |
242 #if IN_LLVM | |
232 // LDC pragma's | 243 // LDC pragma's |
233 { "intrinsic" }, | 244 { "intrinsic" }, |
234 { "va_intrinsic" }, | 245 { "va_intrinsic" }, |
235 { "no_typeinfo" }, | 246 { "no_typeinfo" }, |
236 { "no_moduleinfo" }, | 247 { "no_moduleinfo" }, |
239 { "vacopy", "va_copy" }, | 250 { "vacopy", "va_copy" }, |
240 { "vaend", "va_end" }, | 251 { "vaend", "va_end" }, |
241 { "vaarg", "va_arg" }, | 252 { "vaarg", "va_arg" }, |
242 { "ldc" }, | 253 { "ldc" }, |
243 { "allow_inline" }, | 254 { "allow_inline" }, |
255 { "llvm_inline_asm" }, | |
256 #endif | |
244 | 257 |
245 // For special functions | 258 // For special functions |
246 { "tohash", "toHash" }, | 259 { "tohash", "toHash" }, |
247 { "tostring", "toString" }, | 260 { "tostring", "toString" }, |
248 { "getmembers", "getMembers" }, | 261 { "getmembers", "getMembers" }, |
249 | 262 |
250 // Special functions | 263 // Special functions |
251 //{ "alloca" }, | 264 #if IN_DMD |
265 { "alloca" }, | |
266 #endif | |
252 { "main" }, | 267 { "main" }, |
253 { "WinMain" }, | 268 { "WinMain" }, |
254 { "DllMain" }, | 269 { "DllMain" }, |
270 { "tls_get_addr", "___tls_get_addr" }, | |
255 | 271 |
256 // Builtin functions | 272 // Builtin functions |
257 { "std" }, | 273 { "std" }, |
258 { "math" }, | 274 { "math" }, |
259 { "sin" }, | 275 { "sin" }, |