зеркало из https://github.com/mozilla/gecko-dev.git
Родитель
8ecaa7e0ce
Коммит
b50bf4c0c4
|
@ -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
|
||||
|
|
|
@ -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) \
|
||||
|
|
Загрузка…
Ссылка в новой задаче