[svn r100] Moved test/ray.d to demos/ray.d.

Cleanups.
This commit is contained in:
Tomas Lindquist Olsen
2007-11-12 07:58:44 +01:00
parent e39beb1ad9
commit feff45cadd
16 changed files with 122 additions and 258 deletions

View File

@@ -53,7 +53,7 @@ llvm::Value* DVarValue::getRVal()
else {
if (rval) return rval;
Logger::cout() << "val: " << *val << '\n';
if (llvm::isa<llvm::Argument>(val)) {
if (isaArgument(val)) {
if (var && (var->isRef() || var->isOut()))
return DtoLoad(val);
}