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:
dougt%meer.net 2005-11-22 02:39:40 +00:00
Родитель 637ff91341
Коммит f31bce7a4f
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -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())
{