mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Reworked the LLVMDC specific pragmas.
This commit is contained in:
parent
8f14ece3af
commit
07cfb67178
534 changed files with 1502 additions and 258956 deletions
|
@ -253,7 +253,7 @@ static llvm::Function* DtoDeclareVaFunction(FuncDeclaration* fdecl)
|
|||
assert(fn);
|
||||
}
|
||||
else if (fdecl->llvmInternal == LLVMva_intrinsic) {
|
||||
fn = gIR->module->getOrInsertFunction(fdecl->llvmInternal1, fty);
|
||||
fn = gIR->module->getOrInsertFunction(fdecl->intrinsicName, fty);
|
||||
assert(fn);
|
||||
}
|
||||
else
|
||||
|
@ -405,9 +405,9 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
|
|||
}
|
||||
|
||||
// mangled name
|
||||
char* mangled_name;
|
||||
const char* mangled_name;
|
||||
if (fdecl->llvmInternal == LLVMintrinsic)
|
||||
mangled_name = fdecl->llvmInternal1;
|
||||
mangled_name = fdecl->intrinsicName.c_str();
|
||||
else
|
||||
mangled_name = fdecl->mangle();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue