xref: /reactos/sdk/lib/cpprt/i386/cpprt.s (revision 7b1049c8)
1#include <asm.inc>
2
3.code
4
5MACRO(DEFINE_ALIAS, alias, orig)
6EXTERN &orig : PROC
7ALIAS <&alias> = <&orig>
8ENDM
9
10EXTERN _CxxHandleV8Frame@20 : PROC
11PUBLIC ___CxxFrameHandler3
12___CxxFrameHandler3:
13    push eax
14    push dword ptr [esp + 20]
15    push dword ptr [esp + 20]
16    push dword ptr [esp + 20]
17    push dword ptr [esp + 20]
18    call _CxxHandleV8Frame@20
19    ret
20
21EXTERN ___CxxFrameHandler : PROC
22PUBLIC _CallCxxFrameHandler
23_CallCxxFrameHandler:
24    mov eax, dword ptr [esp + 20]
25    jmp ___CxxFrameHandler
26
27; void __stdcall `eh vector constructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *),void (__thiscall*)(void *))
28DEFINE_ALIAS ??_L@YGXPAXIHP6EX0@Z1@Z, ?MSVCRTEX_eh_vector_constructor_iterator@@YGXPAXIHP6EX0@Z1@Z
29
30; void __stdcall `eh vector constructor iterator'(void *,unsigned int,unsigned int,void (__thiscall*)(void *),void (__thiscall*)(void *))
31DEFINE_ALIAS ??_L@YGXPAXIIP6EX0@Z1@Z, ?MSVCRTEX_eh_vector_constructor_iterator@@YGXPAXIHP6EX0@Z1@Z
32
33; void __stdcall `eh vector destructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *))
34DEFINE_ALIAS ??_M@YGXPAXIHP6EX0@Z@Z, ?MSVCRTEX_eh_vector_destructor_iterator@@YGXPAXIHP6EX0@Z@Z
35
36; void __stdcall `eh vector destructor iterator'(void *,unsigned int,unsigned int,void (__thiscall*)(void *))
37DEFINE_ALIAS ??_M@YGXPAXIIP6EX0@Z@Z, ?MSVCRTEX_eh_vector_destructor_iterator@@YGXPAXIHP6EX0@Z@Z
38
39; void __cdecl operator delete(void *,unsigned int)
40DEFINE_ALIAS ??3@YAXPAXI@Z, ??3@YAXPAX@Z
41
42; void __cdecl operator delete(void *,struct std::nothrow_t const &)
43DEFINE_ALIAS ??3@YAXPAXABUnothrow_t@std@@@Z, ??3@YAXPAX@Z
44
45; void __cdecl operator delete[](void *,struct std::nothrow_t const &)
46DEFINE_ALIAS ??_V@YAXPAXABUnothrow_t@std@@@Z, ??3@YAXPAX@Z
47
48END
49