mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 15:40:55 +03:00
Merge of 2.065.0-b3.
The new visitor class is used for IR generation. This removes some modifications from DMD source.
This commit is contained in:
parent
27c0785ec4
commit
fe39da53e3
121 changed files with 14041 additions and 13679 deletions
|
@ -292,7 +292,7 @@ llvm::TargetMachine* createTargetMachine(
|
|||
const llvm::Target *target = lookupTarget(arch, triple, errMsg);
|
||||
if (target == 0)
|
||||
{
|
||||
error("%s", errMsg.c_str());
|
||||
error(Loc(), "%s", errMsg.c_str());
|
||||
fatal();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue