mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-01 09:39:24 +02:00
[svn r357] Merged DMD 1.033
This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ DValue* DeclarationExp::toElem(IRState* p)
|
||||
// static
|
||||
if (vd->isDataseg())
|
||||
{
|
||||
vd->toObjFile(); // TODO
|
||||
vd->toObjFile(0); // TODO: multiobj
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -245,7 +245,7 @@ DValue* VarExp::toElem(IRState* p)
|
||||
else {
|
||||
// take care of forward references of global variables
|
||||
if (vd->isDataseg() || (vd->storage_class & STCextern)) {
|
||||
vd->toObjFile();
|
||||
vd->toObjFile(0); // TODO: multiobj
|
||||
DtoConstInitGlobal(vd);
|
||||
}
|
||||
if (!vd->ir.getIrValue() || DtoType(vd->type)->isAbstract()) {
|
||||
|
||||
Reference in New Issue
Block a user