diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-12-22 11:37:01 -0800 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-12-22 11:37:01 -0800 |
commit | 1bcab1377de6afe8c0f9c895cdba04baacf3e4a5 (patch) | |
tree | 4d478ccff5da0dee3c217c01f815ee1764965501 /benchmarks/parsestream.upb.c | |
parent | b5f5ee867e6c91b77490dc8894236f17a47bde00 (diff) |
Sync with internal Google development.
This breaks the open-source build, will
follow up with a change to fix it.
Diffstat (limited to 'benchmarks/parsestream.upb.c')
-rw-r--r-- | benchmarks/parsestream.upb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/parsestream.upb.c b/benchmarks/parsestream.upb.c index 19d8ccf..4d13e9d 100644 --- a/benchmarks/parsestream.upb.c +++ b/benchmarks/parsestream.upb.c @@ -76,7 +76,8 @@ static size_t run(int i) (void)i; upb_status status = UPB_STATUS_INIT; upb_stringsrc_reset(&stringsrc, input_str, input_len); - upb_decoder_reset(&decoder, upb_stringsrc_allbytes(&stringsrc), NULL); + upb_decoder_reset(&decoder, upb_stringsrc_bytesrc(&stringsrc), + 0, UPB_NONDELIMITED, NULL); upb_decoder_decode(&decoder, &status); if(!upb_ok(&status)) goto err; return input_len; |