mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Removed the 'needsstorage' thing from Dsymbol. Arguments are not always given storage when applicable. This is not longer treat specially
in this regard. Code for accessing nested variables and contexts rewritten. Probably more. Fairly well tested.
This commit is contained in:
@@ -53,7 +53,7 @@ LLValue* DVarValue::getRVal()
|
||||
else {
|
||||
if (rval) return rval;
|
||||
//Logger::cout() << "val: " << *val << '\n';
|
||||
if (!isThis() && !isField() && DtoCanLoad(val)) {
|
||||
if (!isField() && DtoCanLoad(val)) {
|
||||
return DtoLoad(val);
|
||||
}
|
||||
return val;
|
||||
|
||||
Reference in New Issue
Block a user