mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-04 05:53:13 +01:00
A few fixes for 64bit
This commit is contained in:
@@ -491,7 +491,10 @@ DValue* DtoCallFunction(Loc& loc, Type* resulttype, DValue* fnval, Expressions*
|
||||
Logger::cout() << "expects: " << *callableTy->getParamType(j) << '\n';
|
||||
}
|
||||
#endif
|
||||
arg = DtoBitCast(arg, callableTy->getParamType(j));
|
||||
if (isaStruct(arg))
|
||||
arg = DtoAggrPaint(arg, callableTy->getParamType(j));
|
||||
else
|
||||
arg = DtoBitCast(arg, callableTy->getParamType(j));
|
||||
}
|
||||
|
||||
// param attrs
|
||||
|
||||
Reference in New Issue
Block a user