mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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:
parent
222f0cec01
commit
22eb58b348
@ -414,11 +414,11 @@ XPT_FillParamDescriptor(XPTArena *arena,
|
||||
* interface method.
|
||||
*/
|
||||
struct XPTMethodDescriptor {
|
||||
PRUint8 flags;
|
||||
char *name;
|
||||
PRUint8 num_args;
|
||||
XPTParamDescriptor *params;
|
||||
XPTParamDescriptor *result;
|
||||
PRUint8 flags;
|
||||
PRUint8 num_args;
|
||||
};
|
||||
|
||||
/* flag bits -- jband and fur were right, and I was miserably wrong */
|
||||
|
Loading…
Reference in New Issue
Block a user