Mercurial > projects > ldc
comparison gen/tocall.cpp @ 839:162a0502a6b9
Fixed another moreatatime (as opposed to oneatatime) issue with indexing unresolved class.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 09 Dec 2008 17:14:52 +0100 |
parents | 1b23aa1fb1b5 |
children | 7985bb036db4 |
comparison
equal
deleted
inserted
replaced
838:94ba810ea2b0 | 839:162a0502a6b9 |
---|---|
240 // get callee llvm value | 240 // get callee llvm value |
241 LLValue* callable = DtoCallableValue(fnval); | 241 LLValue* callable = DtoCallableValue(fnval); |
242 const LLFunctionType* callableTy = DtoExtractFunctionType(callable->getType()); | 242 const LLFunctionType* callableTy = DtoExtractFunctionType(callable->getType()); |
243 assert(callableTy); | 243 assert(callableTy); |
244 | 244 |
245 if (Logger::enabled()) | 245 // if (Logger::enabled()) |
246 { | 246 // Logger::cout() << "callable: " << *callable << '\n'; |
247 Logger::cout() << "callable: " << *callable << '\n'; | |
248 } | |
249 | 247 |
250 // get n arguments | 248 // get n arguments |
251 size_t n_arguments = arguments ? arguments->dim : 0; | 249 size_t n_arguments = arguments ? arguments->dim : 0; |
252 | 250 |
253 // get llvm argument iterator, for types | 251 // get llvm argument iterator, for types |