mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-02 04:20:05 +02:00
Use caching in DtoVaFunctionType.
Remove now unused method IrFuncTy.reset().
This commit is contained in:
@@ -159,19 +159,6 @@ struct IrFuncTy
|
||||
}
|
||||
#endif
|
||||
|
||||
void reset() {
|
||||
funcType = 0;
|
||||
ret = NULL;
|
||||
arg_sret = arg_this = arg_nest = arg_arguments = arg_argptr = NULL;
|
||||
#if defined(_MSC_VER)
|
||||
args = IrFuncTy::ArgList();
|
||||
#else
|
||||
args.clear();
|
||||
#endif
|
||||
c_vararg = false;
|
||||
reverseParams = false;
|
||||
}
|
||||
|
||||
llvm::Value* putRet(Type* dty, DValue* dval);
|
||||
llvm::Value* getRet(Type* dty, DValue* dval);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user