mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-01 09:39:24 +02:00
Changed use of toObjFile to a new codegen method.
More versioning of DMD specific codegen code.
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ DValue* VarExp::toElem(IRState* p)
|
||||
|
||||
// take care of forward references of global variables
|
||||
if (vd->isDataseg() || (vd->storage_class & STCextern)) {
|
||||
vd->toObjFile(0); // TODO: multiobj
|
||||
vd->codegen(Type::sir);
|
||||
}
|
||||
|
||||
LLValue* val;
|
||||
|
||||
Reference in New Issue
Block a user