reorder members to avoid wasted space due to struct member alignment rules. This will generally save one machine word per XPTMethodDescriptor (and we make a bunch of those). bug 120005. r=dbradley, sr=shaver

This commit is contained in:
jband%netscape.com 2002-02-14 06:28:13 +00:00
parent 222f0cec01
commit 22eb58b348

View File

@ -414,11 +414,11 @@ XPT_FillParamDescriptor(XPTArena *arena,
* interface method. * interface method.
*/ */
struct XPTMethodDescriptor { struct XPTMethodDescriptor {
PRUint8 flags;
char *name; char *name;
PRUint8 num_args;
XPTParamDescriptor *params; XPTParamDescriptor *params;
XPTParamDescriptor *result; XPTParamDescriptor *result;
PRUint8 flags;
PRUint8 num_args;
}; };
/* flag bits -- jband and fur were right, and I was miserably wrong */ /* flag bits -- jband and fur were right, and I was miserably wrong */