b=477727; fix up Windows CE xptcall; r=stuart

This commit is contained in:
Vladimir Vukicevic 2009-02-10 15:10:08 -08:00
Родитель dad201f497
Коммит 29607445e1
2 изменённых файлов: 8 добавлений и 27 удалений

Просмотреть файл

@ -108,12 +108,12 @@ $PrologName
MACRO
MY_STUB_NESTED_ARMENTRY $Number
;FuncName SETS VBar:CC:"?Stub$Number@nsXPTCStubBase@@UAAIXZ":CC:VBar
;PrologName SETS VBar:CC:"?Stub$Number@nsXPTCStubBase@@UAAIXZ":CC:"_Prolog":CC:VBar
;FuncEndName SETS VBar:CC:"?Stub$Number@nsXPTCStubBase@@UAAIXZ":CC:"_end":CC:VBar
FuncName SETS VBar:CC:"?asmXPTCStubBase_Stub$Number@@YAIXZ":CC:VBar
PrologName SETS VBar:CC:"?asmXPTCStubBase_Stub$Number@@YAIXZ":CC:"_Prolog":CC:VBar
FuncEndName SETS VBar:CC:"?asmXPTCStubBase_Stub$Number@@YAIXZ":CC:"_end":CC:VBar
FuncName SETS VBar:CC:"?Stub$Number@nsXPTCStubBase@@UAAIXZ":CC:VBar
PrologName SETS VBar:CC:"?Stub$Number@nsXPTCStubBase@@UAAIXZ":CC:"_Prolog":CC:VBar
FuncEndName SETS VBar:CC:"?Stub$Number@nsXPTCStubBase@@UAAIXZ":CC:"_end":CC:VBar
;FuncName SETS VBar:CC:"?asmXPTCStubBase_Stub$Number@@YAIXZ":CC:VBar ;
;PrologName SETS VBar:CC:"?asmXPTCStubBase_Stub$Number@@YAIXZ":CC:"_Prolog":CC:VBar
;FuncEndName SETS VBar:CC:"?asmXPTCStubBase_Stub$Number@@YAIXZ":CC:"_end":CC:VBar
AREA |.pdata|,ALIGN=2,PDATA
DCD $FuncName

Просмотреть файл

@ -118,26 +118,9 @@ PrepareAndDispatch(nsXPTCStubBase* self, PRUint32 methodIndex,
} // extern "C"
/* We don't need STUB_ENTRY, since the stubs are defined explicitly in xptc_arm_ceppc.asm */
// these macros get defined inside xptc_asm_ceppc.asm
// asm prototypes
#define STUB_ENTRY(n) \
nsresult __stdcall asmXPTCStubBase_Stub##n( void );
#define SENTINEL_ENTRY(n)
#include "xptcstubsdef.inc"
#undef STUB_ENTRY
#undef SENTINEL_ENTRY
#define STUB_ENTRY(n) \
nsresult \
__stdcall nsXPTCStubBase::Stub##n() \
{ \
return asmXPTCStubBase_Stub##n(); \
} \
#define STUB_ENTRY(n) /* */
#define SENTINEL_ENTRY(n) \
nsresult __stdcall nsXPTCStubBase::Sentinel##n() \
@ -147,8 +130,6 @@ nsresult __stdcall nsXPTCStubBase::Sentinel##n() \
}
#include "xptcstubsdef.inc"
void xptc_dummy()
{
}