Mercurial > projects > ldc
comparison gen/tocall.cpp @ 1364:46f6365a50d7
Added IrTypeFunction and IrTypeDelegate and eliminated IrDType. This means the Type::ir field can be removed. It's the final part needed for the move to a slightly more sane type system. Now the whole thing just needs to be cleaned up :P
Added -v-cg switch, which right now just prints "codegen: module.name (module/name.d)" to stdout, this can really help figuring out where, in some complex build command, things go wrong.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sat, 16 May 2009 18:19:52 +0200 |
parents | 15e9762bb620 |
children | 42bd767ec5a4 |
comparison
equal
deleted
inserted
replaced
1363:b7c8506e1eed | 1364:46f6365a50d7 |
---|---|
258 LOG_SCOPE | 258 LOG_SCOPE |
259 | 259 |
260 // the callee D type | 260 // the callee D type |
261 Type* calleeType = fnval->getType(); | 261 Type* calleeType = fnval->getType(); |
262 | 262 |
263 // if the type has not yet been processed, do so now | 263 // make sure the callee type has been processed |
264 if (calleeType->ir.type == NULL) | 264 DtoType(calleeType); |
265 DtoType(calleeType); | |
266 | 265 |
267 // get func value if any | 266 // get func value if any |
268 DFuncValue* dfnval = fnval->isFunc(); | 267 DFuncValue* dfnval = fnval->isFunc(); |
269 | 268 |
270 // handle special vararg intrinsics | 269 // handle special vararg intrinsics |