Commit ddd4a7c3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

msvcp90: Use __ASM_BLOCK_BEGIN and __ASM_BLOCK_END macros.

parent 281c58bc
...@@ -1021,9 +1021,7 @@ void __cdecl __ExceptionPtrDestroy(exception_ptr *ep) ...@@ -1021,9 +1021,7 @@ void __cdecl __ExceptionPtrDestroy(exception_ptr *ep)
#define EXCEPTION_VTABLE(name,funcs) __ASM_VTABLE(name,funcs VTABLE_ADD_FUNC(MSVCP_exception__Doraise)) #define EXCEPTION_VTABLE(name,funcs) __ASM_VTABLE(name,funcs VTABLE_ADD_FUNC(MSVCP_exception__Doraise))
#endif #endif
#ifndef __GNUC__ __ASM_BLOCK_BEGIN(exception_vtables)
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(type_info, __ASM_VTABLE(type_info,
VTABLE_ADD_FUNC(MSVCP_type_info_vector_dtor)); VTABLE_ADD_FUNC(MSVCP_type_info_vector_dtor));
EXCEPTION_VTABLE(exception, EXCEPTION_VTABLE(exception,
...@@ -1066,9 +1064,7 @@ void __asm_dummy_vtables(void) { ...@@ -1066,9 +1064,7 @@ void __asm_dummy_vtables(void) {
EXCEPTION_VTABLE(range_error, EXCEPTION_VTABLE(range_error,
VTABLE_ADD_FUNC(MSVCP_runtime_error_vector_dtor) VTABLE_ADD_FUNC(MSVCP_runtime_error_vector_dtor)
VTABLE_ADD_FUNC(MSVCP_runtime_error_what)); VTABLE_ADD_FUNC(MSVCP_runtime_error_what));
#ifndef __GNUC__ __ASM_BLOCK_END
}
#endif
/* Internal: throws selected exception */ /* Internal: throws selected exception */
void throw_exception(exception_type et, const char *str) void throw_exception(exception_type et, const char *str)
......
...@@ -756,9 +756,7 @@ DEFINE_RTTI_DATA8(strstream, sizeof(strstream), ...@@ -756,9 +756,7 @@ DEFINE_RTTI_DATA8(strstream, sizeof(strstream),
&ios_base_rtti_base_descriptor, &iosb_rtti_base_descriptor, &ios_base_rtti_base_descriptor, &iosb_rtti_base_descriptor,
"?AVstrstream@std@@") "?AVstrstream@std@@")
#ifndef __GNUC__ __ASM_BLOCK_BEGIN(ios_vtables)
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(iosb, __ASM_VTABLE(iosb,
VTABLE_ADD_FUNC(iosb_vector_dtor)); VTABLE_ADD_FUNC(iosb_vector_dtor));
__ASM_VTABLE(ios_base, __ASM_VTABLE(ios_base,
...@@ -1181,9 +1179,7 @@ void __asm_dummy_vtables(void) { ...@@ -1181,9 +1179,7 @@ void __asm_dummy_vtables(void) {
VTABLE_ADD_FUNC(basic_ios__Add_vtordisp2) VTABLE_ADD_FUNC(basic_ios__Add_vtordisp2)
#endif #endif
); );
#ifndef __GNUC__ __ASM_BLOCK_END
}
#endif
/* ?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z */ /* ?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z */
/* ?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD00@Z */ /* ?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD00@Z */
......
...@@ -12737,9 +12737,7 @@ DEFINE_RTTI_DATA1(time_base, 0, &locale_facet_rtti_base_descriptor, ".?AUtime_ba ...@@ -12737,9 +12737,7 @@ DEFINE_RTTI_DATA1(time_base, 0, &locale_facet_rtti_base_descriptor, ".?AUtime_ba
DEFINE_RTTI_DATA2(time_get_char, 0, &time_base_rtti_base_descriptor, &locale_facet_rtti_base_descriptor, ".?AV?$time_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@") DEFINE_RTTI_DATA2(time_get_char, 0, &time_base_rtti_base_descriptor, &locale_facet_rtti_base_descriptor, ".?AV?$time_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@")
DEFINE_RTTI_DATA2(time_get_wchar, 0, &time_base_rtti_base_descriptor, &locale_facet_rtti_base_descriptor, ".?AV?$time_get@_WV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@") DEFINE_RTTI_DATA2(time_get_wchar, 0, &time_base_rtti_base_descriptor, &locale_facet_rtti_base_descriptor, ".?AV?$time_get@_WV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@")
#ifndef __GNUC__ __ASM_BLOCK_BEGIN(locale_vtables)
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(_Facet_base, __ASM_VTABLE(_Facet_base,
VTABLE_ADD_FUNC(locale_facet_vector_dtor) VTABLE_ADD_FUNC(locale_facet_vector_dtor)
VTABLE_ADD_FUNC(locale_facet__Incref) VTABLE_ADD_FUNC(locale_facet__Incref)
...@@ -13104,9 +13102,7 @@ void __asm_dummy_vtables(void) { ...@@ -13104,9 +13102,7 @@ void __asm_dummy_vtables(void) {
VTABLE_ADD_FUNC(time_get_wchar_do_get) VTABLE_ADD_FUNC(time_get_wchar_do_get)
#endif #endif
); );
#ifndef __GNUC__ __ASM_BLOCK_END
}
#endif
void init_locale(void *base) void init_locale(void *base)
{ {
......
...@@ -2391,9 +2391,7 @@ void __thiscall _Concurrent_vector_base_v4__Internal_swap( ...@@ -2391,9 +2391,7 @@ void __thiscall _Concurrent_vector_base_v4__Internal_swap(
} }
#endif #endif
#ifndef __GNUC__ __ASM_BLOCK_BEGIN(vtables)
void __asm_dummy_vtables(void) {
#endif
#if _MSVCP_VER == 100 #if _MSVCP_VER == 100
__ASM_VTABLE(iostream_category, __ASM_VTABLE(iostream_category,
VTABLE_ADD_FUNC(custom_category_vector_dtor) VTABLE_ADD_FUNC(custom_category_vector_dtor)
...@@ -2434,9 +2432,7 @@ void __asm_dummy_vtables(void) { ...@@ -2434,9 +2432,7 @@ void __asm_dummy_vtables(void) {
__ASM_VTABLE(_Pad, __ASM_VTABLE(_Pad,
VTABLE_ADD_FUNC(_Pad__Go)); VTABLE_ADD_FUNC(_Pad__Go));
#endif #endif
#ifndef __GNUC__ __ASM_BLOCK_END
}
#endif
/********************************************************************* /*********************************************************************
* __crtInitializeCriticalSectionEx (MSVCP140.@) * __crtInitializeCriticalSectionEx (MSVCP140.@)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment