diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-23 23:56:36 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-23 23:56:36 -0800 |
commit | 4d6585290955613b23e5ade89794fb465cb7ec3a (patch) | |
tree | 20fde20a4e44244ae706cf5bda77af8957954f73 /src/upb_msg.h | |
parent | 3a758132b402e2c4a346d1feb45d00300fed16e7 (diff) |
Rearrange structs to put arrays at the end, for smaller offsets.
Diffstat (limited to 'src/upb_msg.h')
-rw-r--r-- | src/upb_msg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/upb_msg.h b/src/upb_msg.h index 468af24..1e0a176 100644 --- a/src/upb_msg.h +++ b/src/upb_msg.h @@ -280,8 +280,9 @@ typedef struct { } upb_msgpopulator_frame; typedef struct { - upb_msgpopulator_frame stack[UPB_MAX_NESTING], *top, *limit; + upb_msgpopulator_frame *top, *limit; upb_status status; + upb_msgpopulator_frame stack[UPB_MAX_NESTING]; } upb_msgpopulator; void upb_msgpopulator_init(upb_msgpopulator *p); |