mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 16:43:13 +01:00
Fixed problems introduced by previous commits that prevented Tango from compiling.
This commit is contained in:
@@ -326,7 +326,7 @@ DValue* DtoCallFunction(Loc& loc, Type* resulttype, DValue* fnval, Expressions*
|
||||
{
|
||||
ctxarg = gIR->ir->CreateExtractValue(fnval->getRVal(), 0, ".ptr");
|
||||
}
|
||||
assert(ctxarg->getType() == argiter->get());
|
||||
ctxarg = DtoBitCast(ctxarg, argiter->get());
|
||||
++argiter;
|
||||
args.push_back(ctxarg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user