Bug 577813 - Missing __attribute__ ((used)) on PrepareAndDispatch functions. r=benjamin.

This commit is contained in:
Jan Hubicka 2011-12-05 10:20:32 -05:00
parent ad5d435d36
commit 76f9a1362d

View File

@ -62,7 +62,7 @@ const PRUint32 FPR_COUNT = 8;
// The parameters are mapped into an array of type 'nsXPTCMiniVariant'
// and then the method gets called.
extern "C" nsresult
extern "C" nsresult ATTRIBUTE_USED
PrepareAndDispatch(nsXPTCStubBase * self, PRUint32 methodIndex,
PRUint64 * args, PRUint64 * gpregs, double *fpregs)
{