Mercurial > projects > ldc
comparison dmd/func.c @ 664:eef8ac26c66c
Some missed LLVMDC -> LDC.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 06 Oct 2008 22:54:08 +0200 |
parents | 50383e476c7e |
children | 06576ece1a1b |
comparison
equal
deleted
inserted
replaced
663:6aaa3d3c1183 | 664:eef8ac26c66c |
---|---|
92 f->frequire = frequire ? frequire->syntaxCopy() : NULL; | 92 f->frequire = frequire ? frequire->syntaxCopy() : NULL; |
93 f->fensure = fensure ? fensure->syntaxCopy() : NULL; | 93 f->fensure = fensure ? fensure->syntaxCopy() : NULL; |
94 f->fbody = fbody ? fbody->syntaxCopy() : NULL; | 94 f->fbody = fbody ? fbody->syntaxCopy() : NULL; |
95 assert(!fthrows); // deprecated | 95 assert(!fthrows); // deprecated |
96 | 96 |
97 // LLVMDC | 97 // LDC |
98 f->intrinsicName = intrinsicName; | 98 f->intrinsicName = intrinsicName; |
99 | 99 |
100 return f; | 100 return f; |
101 } | 101 } |
102 | 102 |
2018 /********************************** | 2018 /********************************** |
2019 * Generate a FuncDeclaration for a runtime library function. | 2019 * Generate a FuncDeclaration for a runtime library function. |
2020 */ | 2020 */ |
2021 | 2021 |
2022 // | 2022 // |
2023 // LLVMDC: Adjusted to give argument info to the runtime function decl. | 2023 // LDC: Adjusted to give argument info to the runtime function decl. |
2024 // | 2024 // |
2025 | 2025 |
2026 FuncDeclaration *FuncDeclaration::genCfunc(Arguments *args, Type *treturn, char *name) | 2026 FuncDeclaration *FuncDeclaration::genCfunc(Arguments *args, Type *treturn, char *name) |
2027 { | 2027 { |
2028 return genCfunc(args, treturn, Lexer::idPool(name)); | 2028 return genCfunc(args, treturn, Lexer::idPool(name)); |