msvcp90: Remove unused thiscall functions.
This commit is contained in:
parent
9730744b85
commit
f8350fc15b
|
@ -98,8 +98,7 @@ void * __thiscall MSVCP_type_info_vector_dtor(type_info * _this, unsigned int fl
|
||||||
|
|
||||||
DEFINE_RTTI_DATA0( type_info, 0, ".?AVtype_info@@" );
|
DEFINE_RTTI_DATA0( type_info, 0, ".?AVtype_info@@" );
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_exception_ctor, 8)
|
static exception* MSVCP_exception_ctor(exception *this, const char **name)
|
||||||
exception* __thiscall MSVCP_exception_ctor(exception *this, const char **name)
|
|
||||||
{
|
{
|
||||||
TRACE("(%p %s)\n", this, *name);
|
TRACE("(%p %s)\n", this, *name);
|
||||||
|
|
||||||
|
@ -189,8 +188,7 @@ static const cxx_exception_type exception_cxx_type = {
|
||||||
/* bad_alloc class data */
|
/* bad_alloc class data */
|
||||||
typedef exception bad_alloc;
|
typedef exception bad_alloc;
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_bad_alloc_ctor, 8)
|
static bad_alloc* MSVCP_bad_alloc_ctor(bad_alloc *this, const char **name)
|
||||||
bad_alloc* __thiscall MSVCP_bad_alloc_ctor(bad_alloc *this, const char **name)
|
|
||||||
{
|
{
|
||||||
TRACE("%p %s\n", this, *name);
|
TRACE("%p %s\n", this, *name);
|
||||||
MSVCP_exception_ctor(this, name);
|
MSVCP_exception_ctor(this, name);
|
||||||
|
@ -273,8 +271,7 @@ typedef struct _logic_error {
|
||||||
basic_string_char str;
|
basic_string_char str;
|
||||||
} logic_error;
|
} logic_error;
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_logic_error_ctor, 8)
|
static logic_error* MSVCP_logic_error_ctor(
|
||||||
logic_error* __thiscall MSVCP_logic_error_ctor(
|
|
||||||
logic_error *this, const char **name)
|
logic_error *this, const char **name)
|
||||||
{
|
{
|
||||||
TRACE("%p %s\n", this, *name);
|
TRACE("%p %s\n", this, *name);
|
||||||
|
@ -361,8 +358,7 @@ static const cxx_exception_type logic_error_cxx_type = {
|
||||||
/* length_error class data */
|
/* length_error class data */
|
||||||
typedef logic_error length_error;
|
typedef logic_error length_error;
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_length_error_ctor, 8)
|
static length_error* MSVCP_length_error_ctor(
|
||||||
length_error* __thiscall MSVCP_length_error_ctor(
|
|
||||||
length_error *this, const char **name)
|
length_error *this, const char **name)
|
||||||
{
|
{
|
||||||
TRACE("%p %s\n", this, *name);
|
TRACE("%p %s\n", this, *name);
|
||||||
|
@ -410,8 +406,7 @@ static const cxx_exception_type length_error_cxx_type = {
|
||||||
/* out_of_range class data */
|
/* out_of_range class data */
|
||||||
typedef logic_error out_of_range;
|
typedef logic_error out_of_range;
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_out_of_range_ctor, 8)
|
static out_of_range* MSVCP_out_of_range_ctor(
|
||||||
out_of_range* __thiscall MSVCP_out_of_range_ctor(
|
|
||||||
out_of_range *this, const char **name)
|
out_of_range *this, const char **name)
|
||||||
{
|
{
|
||||||
TRACE("%p %s\n", this, *name);
|
TRACE("%p %s\n", this, *name);
|
||||||
|
@ -459,8 +454,7 @@ static const cxx_exception_type out_of_range_cxx_type = {
|
||||||
/* invalid_argument class data */
|
/* invalid_argument class data */
|
||||||
typedef logic_error invalid_argument;
|
typedef logic_error invalid_argument;
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_invalid_argument_ctor, 8)
|
static invalid_argument* MSVCP_invalid_argument_ctor(
|
||||||
invalid_argument* __thiscall MSVCP_invalid_argument_ctor(
|
|
||||||
invalid_argument *this, const char **name)
|
invalid_argument *this, const char **name)
|
||||||
{
|
{
|
||||||
TRACE("%p %s\n", this, *name);
|
TRACE("%p %s\n", this, *name);
|
||||||
|
@ -511,8 +505,7 @@ typedef struct {
|
||||||
basic_string_char str;
|
basic_string_char str;
|
||||||
} runtime_error;
|
} runtime_error;
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_runtime_error_ctor, 8)
|
static runtime_error* MSVCP_runtime_error_ctor(
|
||||||
runtime_error* __thiscall MSVCP_runtime_error_ctor(
|
|
||||||
runtime_error *this, const char **name)
|
runtime_error *this, const char **name)
|
||||||
{
|
{
|
||||||
TRACE("%p %s\n", this, *name);
|
TRACE("%p %s\n", this, *name);
|
||||||
|
@ -599,8 +592,7 @@ static const cxx_exception_type runtime_error_cxx_type = {
|
||||||
/* failure class data */
|
/* failure class data */
|
||||||
typedef runtime_error failure;
|
typedef runtime_error failure;
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(MSVCP_failure_ctor, 8)
|
static failure* MSVCP_failure_ctor(
|
||||||
failure* __thiscall MSVCP_failure_ctor(
|
|
||||||
failure *this, const char **name)
|
failure *this, const char **name)
|
||||||
{
|
{
|
||||||
TRACE("%p %s\n", this, *name);
|
TRACE("%p %s\n", this, *name);
|
||||||
|
|
|
@ -8356,26 +8356,6 @@ void __thiscall locale_dtor(locale *this)
|
||||||
locale__Locimp_dtor(this->ptr);
|
locale__Locimp_dtor(this->ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_THISCALL_WRAPPER(locale_vector_dtor, 8)
|
|
||||||
locale* __thiscall locale_vector_dtor(locale *this, unsigned int flags)
|
|
||||||
{
|
|
||||||
TRACE("(%p %x)\n", this, flags);
|
|
||||||
if(flags & 2) {
|
|
||||||
/* we have an array, with the number of elements stored before the first object */
|
|
||||||
INT_PTR i, *ptr = (INT_PTR *)this-1;
|
|
||||||
|
|
||||||
for(i=*ptr-1; i>=0; i--)
|
|
||||||
locale_dtor(this+i);
|
|
||||||
MSVCRT_operator_delete(ptr);
|
|
||||||
} else {
|
|
||||||
locale_dtor(this);
|
|
||||||
if(flags & 1)
|
|
||||||
MSVCRT_operator_delete(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ??4locale@std@@QAEAAV01@ABV01@@Z */
|
/* ??4locale@std@@QAEAAV01@ABV01@@Z */
|
||||||
/* ??4locale@std@@QEAAAEAV01@AEBV01@@Z */
|
/* ??4locale@std@@QEAAAEAV01@AEBV01@@Z */
|
||||||
DEFINE_THISCALL_WRAPPER(locale_operator_assign, 8)
|
DEFINE_THISCALL_WRAPPER(locale_operator_assign, 8)
|
||||||
|
|
Loading…
Reference in New Issue