mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-02 10:09:02 +02:00
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.
This commit is contained in:
@@ -260,9 +260,8 @@ DValue* DtoCallFunction(Loc& loc, Type* resulttype, DValue* fnval, Expressions*
|
||||
// the callee D type
|
||||
Type* calleeType = fnval->getType();
|
||||
|
||||
// if the type has not yet been processed, do so now
|
||||
if (calleeType->ir.type == NULL)
|
||||
DtoType(calleeType);
|
||||
// make sure the callee type has been processed
|
||||
DtoType(calleeType);
|
||||
|
||||
// get func value if any
|
||||
DFuncValue* dfnval = fnval->isFunc();
|
||||
|
||||
Reference in New Issue
Block a user