Fixed another moreatatime (as opposed to oneatatime) issue with indexing unresolved class.

This commit is contained in:
Tomas Lindquist Olsen
2008-12-09 17:14:52 +01:00
parent 99396c2e7a
commit 827113a0b2
2 changed files with 5 additions and 4 deletions

View File

@@ -242,10 +242,8 @@ DValue* DtoCallFunction(Loc& loc, Type* resulttype, DValue* fnval, Expressions*
const LLFunctionType* callableTy = DtoExtractFunctionType(callable->getType());
assert(callableTy);
if (Logger::enabled())
{
Logger::cout() << "callable: " << *callable << '\n';
}
// if (Logger::enabled())
// Logger::cout() << "callable: " << *callable << '\n';
// get n arguments
size_t n_arguments = arguments ? arguments->dim : 0;