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:
Kai Nacke
2014-01-03 15:17:08 +01:00
parent 9b4a70c367
commit b021a2930d

View File

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