mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-17 12:23:14 +01:00
Remove MSVC crap.
The code was a work around and did not solve the underlying problem. With 2.064 even the work around stops working.
This commit is contained in:
@@ -127,38 +127,6 @@ struct IrFuncTy
|
||||
reverseParams(false)
|
||||
{}
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// Copy constructor and operator= seems to be required for MSC
|
||||
|
||||
IrFuncTy(const IrFuncTy& rhs)
|
||||
: funcType(rhs.funcType),
|
||||
ret(rhs.ret),
|
||||
args(IrFuncTy::ArgList(rhs.args)),
|
||||
arg_sret(rhs.arg_sret),
|
||||
arg_this(rhs.arg_this),
|
||||
arg_nest(rhs.arg_nest),
|
||||
arg_arguments(rhs.arg_arguments),
|
||||
arg_argptr(rhs.arg_argptr),
|
||||
c_vararg(rhs.c_vararg),
|
||||
reverseParams(rhs.reverseParams)
|
||||
{}
|
||||
|
||||
IrFuncTy& operator=(const IrFuncTy& rhs)
|
||||
{
|
||||
funcType = rhs.funcType;
|
||||
ret = rhs.ret;
|
||||
args = IrFuncTy::ArgList(rhs.args);
|
||||
arg_sret = rhs.arg_sret;
|
||||
arg_this = rhs.arg_this;
|
||||
arg_nest = rhs.arg_nest;
|
||||
arg_arguments = rhs.arg_arguments;
|
||||
arg_argptr = rhs.arg_argptr;
|
||||
c_vararg = rhs.c_vararg;
|
||||
reverseParams = rhs.reverseParams;
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
||||
llvm::Value* putRet(Type* dty, DValue* dval);
|
||||
llvm::Value* getRet(Type* dty, DValue* dval);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user