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:
Tomas Lindquist Olsen
2008-08-04 02:59:34 +02:00
parent b0a5f554d6
commit daad516579
17 changed files with 232 additions and 259 deletions

View File

@@ -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;