diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2017-09-25 18:00:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 18:00:12 -0700 |
commit | bcb62b7fbfb0c959f7d3671b40c1b7efbb3a4156 (patch) | |
tree | 85c6e64d44beb2c970728290c7f88d87c736642e /upb/pb/compile_decoder_x64.dasc | |
parent | ae30b4a816a57a8101ce187245edc3050d515c06 (diff) | |
parent | 0a9681874ee9ec1e3104b4bdb8e6b2396561ccb6 (diff) |
Merge pull request #92 from TeBoring/unknown
Add new "unknown field" handler.
Diffstat (limited to 'upb/pb/compile_decoder_x64.dasc')
-rw-r--r-- | upb/pb/compile_decoder_x64.dasc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/upb/pb/compile_decoder_x64.dasc b/upb/pb/compile_decoder_x64.dasc index 0bc0597..7fcd006 100644 --- a/upb/pb/compile_decoder_x64.dasc +++ b/upb/pb/compile_decoder_x64.dasc @@ -776,6 +776,11 @@ static void jitdispatch(jitcompiler *jc, | |5: | // Field isn't in our table. + | + | // For pushing unknown fields to the unknown field handler. + | mov64 rax, (uintptr_t)method->dest_handlers_ + | mov FRAME->sink.handlers, rax + | | call ->parse_unknown | test eax, eax // ENDGROUP? | jz <1 |