зеркало из https://github.com/mozilla/pjs.git
Aaron Reed and I are unsure of this patch, but it does fix a Windows CE bustage. From my reading, arm pushing 4, not 3. Aaron introduce a patch which keyed on 3 instead of four.
This commit is contained in:
Родитель
637ff91341
Коммит
f31bce7a4f
|
@ -81,8 +81,8 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args)
|
|||
const nsXPTType& type = param.GetType();
|
||||
nsXPTCMiniVariant* dp = &dispatchParams[i];
|
||||
|
||||
#ifndef AARONTEMP
|
||||
if(i==3)
|
||||
// Aaron Reed suggestion:
|
||||
if(i==4)
|
||||
{
|
||||
// PrepareAndDispatch makes an assumption that is causing us problems. It
|
||||
// assumes that all of the parameters that need to go to the method that we
|
||||
|
@ -106,7 +106,6 @@ PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args)
|
|||
// called in the sequence mentioned above.
|
||||
ap += 5;
|
||||
}
|
||||
#endif /* AARONTEMP */
|
||||
|
||||
if(param.IsOut() || !type.IsArithmetic())
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче