Use caching in DtoVaFunctionType.

Remove now unused method IrFuncTy.reset().
This commit is contained in:
Kai Nacke
2014-01-03 15:14:39 +01:00
parent 1f204ba9c5
commit 9b4a70c367
2 changed files with 6 additions and 21 deletions

View File

@@ -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);