comparison gen/functions.cpp @ 127:facc562f5674 trunk

[svn r131] Fixed #11 All associative array properties now work as they should. Fixed problems with some cases of array.length and array.ptr. Fixed some problems with array properties. Fixed 'in' contracts.
author lindquist
date Fri, 30 Nov 2007 12:56:52 +0100
parents 7f9a0a58394b
children 8096ba7082db
comparison
equal deleted inserted replaced
126:a2c2c3c1a73d 127:facc562f5674
254 Logger::println("DtoResolveFunction(%s)", fdecl->toPrettyChars()); 254 Logger::println("DtoResolveFunction(%s)", fdecl->toPrettyChars());
255 LOG_SCOPE; 255 LOG_SCOPE;
256 256
257 if (fdecl->llvmRunTimeHack) { 257 if (fdecl->llvmRunTimeHack) {
258 gIR->declareList.push_back(fdecl); 258 gIR->declareList.push_back(fdecl);
259 TypeFunction* tf = (TypeFunction*)fdecl->type;
260 tf->llvmRetInPtr = DtoIsPassedByRef(tf->next);
259 return; 261 return;
260 } 262 }
261 263
262 if (fdecl->parent) 264 if (fdecl->parent)
263 if (TemplateInstance* tinst = fdecl->parent->isTemplateInstance()) 265 if (TemplateInstance* tinst = fdecl->parent->isTemplateInstance())