a= chofmann
# 18692
This commit is contained in:
jdunn%netscape.com 1999-12-15 19:01:53 +00:00
Родитель c0cd71da8f
Коммит cd57f65db6
2 изменённых файлов: 8 добавлений и 5 удалений

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

@ -61,6 +61,9 @@
mflr r0
stw r0,8(sp)
mr r12,r3 # Move methodIndex into r12 for LATER
lwz r3,104(sp) # Get the 'original' r3
stwu sp,-176(sp) # room for linkage (24), fprData (104), gprData(28)
# outgoing params to PrepareAndDispatch (20)
@ -88,8 +91,8 @@
addi r6,sp,44 # gprData
addi r7,sp,72 # fprData
# r3 has the 'self' pointer already
# mr r4,r12 # methodIndex selector
addi r5,sp,232 # pointer to callers args area, beyond r3-r10 mapped range
mr r4,r12 # methodIndex selector (it is now LATER)
addi r5,sp,312 # pointer to callers args area, beyond r3-r10 mapped range
bl .PrepareAndDispatch
nop

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

@ -41,7 +41,7 @@ PrepareAndDispatch(nsXPTCStubBase* self, PRUint32 methodIndex, PRUint32* args, P
} DU; // stack slots are not guaranteed 16 byte aligned
#define PARAM_BUFFER_COUNT 16
#define PARAM_GPR_COUNT 7
#define PARAM_GPR_COUNT 7
nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
nsXPTCMiniVariant* dispatchParams = NULL;
@ -193,12 +193,12 @@ PrepareAndDispatch(nsXPTCStubBase* self, PRUint32 methodIndex, PRUint32* args, P
return result;
}
extern "C" int SharedStub(void *, int);
extern "C" int SharedStub(int);
#define STUB_ENTRY(n) \
nsresult nsXPTCStubBase::Stub##n() \
{ \
return SharedStub(this, n); \
return SharedStub(n); \
} \
#define SENTINEL_ENTRY(n) \