diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-04-02 14:09:55 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-04-02 14:09:55 -0700 |
commit | d6cebc329bf849f527f8a46d75799222f05d852d (patch) | |
tree | 071098ee7a25b259563e99bcda31165eab3c3af4 /src/upb_stream.h | |
parent | 36d89694318d6c77ba0ed10e418869b319ea56c7 (diff) |
JIT passes all tests!
Diffstat (limited to 'src/upb_stream.h')
-rw-r--r-- | src/upb_stream.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/upb_stream.h b/src/upb_stream.h index 7ae9b8d..d024675 100644 --- a/src/upb_stream.h +++ b/src/upb_stream.h @@ -92,6 +92,8 @@ upb_flow_t upb_unknownval_nop(void *closure, upb_field_number_t fieldnum, typedef struct { bool junk; upb_fieldtype_t type; + bool repeated; + uint32_t number; // For upb_issubmsg(f) only, the index into the msgdef array of the submsg. // -1 if unset (indicates that submsg should be skipped). int32_t msgent_index; @@ -104,7 +106,6 @@ typedef struct { uint32_t jit_pclabel; uint32_t jit_pclabel_notypecheck; uint32_t jit_submsg_done_pclabel; - bool repeated; } upb_handlers_fieldent; typedef struct _upb_handlers_msgent { @@ -117,8 +118,7 @@ typedef struct _upb_handlers_msgent { uint32_t jit_endofbuf_pclabel; uint32_t jit_endofmsg_pclabel; uint32_t jit_unknownfield_pclabel; - uint32_t groupnum; - bool is_group; + upb_handlers_fieldent *endgroup_f; // NULL if not a group. int32_t jit_parent_field_done_pclabel; uint32_t max_field_number; void **tablearray; |