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

msvcirt: Use __ASM_BLOCK_BEGIN and __ASM_BLOCK_END macros.

parent 54104886
......@@ -199,9 +199,7 @@ extern const vtable_ptr MSVCP_strstream_vtable;
/* ??_7stdiostream@@6B@ */
extern const vtable_ptr MSVCP_stdiostream_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_BLOCK_BEGIN(vtables)
__ASM_VTABLE(streambuf,
VTABLE_ADD_FUNC(streambuf_vector_dtor)
VTABLE_ADD_FUNC(streambuf_sync)
......@@ -270,9 +268,7 @@ void __asm_dummy_vtables(void) {
VTABLE_ADD_FUNC(iostream_vector_dtor));
__ASM_VTABLE(stdiostream,
VTABLE_ADD_FUNC(iostream_vector_dtor));
#ifndef __GNUC__
}
#endif
__ASM_BLOCK_END
#define ALIGNED_SIZE(size, alignment) (((size)+((alignment)-1))/(alignment)*(alignment))
#define VBTABLE_ENTRY(class, offset, vbase) ALIGNED_SIZE(sizeof(class), TYPE_ALIGNMENT(vbase))-offset
......
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