mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-06 20:33:12 +01:00
[svn r105] -inline does nothing for now, the -On setting can already be used to trigger it.
Fixed a rare bug in AddrExp.
This commit is contained in:
@@ -1468,6 +1468,9 @@ DValue* AddrExp::toElem(IRState* p)
|
||||
fd->toObjFile();
|
||||
return new DFuncValue(fd, fd->llvmValue);
|
||||
}
|
||||
else if (DImValue* im = v->isIm()) {
|
||||
return v;
|
||||
}
|
||||
return new DFieldValue(type, v->getLVal(), false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user