diff options
Diffstat (limited to 'src/upb_decoder_x64.asm')
-rw-r--r-- | src/upb_decoder_x64.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb_decoder_x64.asm b/src/upb_decoder_x64.asm index c59d131..032ea86 100644 --- a/src/upb_decoder_x64.asm +++ b/src/upb_decoder_x64.asm @@ -33,7 +33,7 @@ SECTION .text ; Register allocation. %define BUF rbx ; const char *p, current buf position. %define END rbp ; const char *end, where the buf ends (either submsg end or buf end) -%define FREE r12 ; unused +%define STRING r12 ; unused %define FIELDDEF r13 ; upb_fielddef *f, needs to be preserved across varint decoding call. %define CALLBACK r14 %define CLOSURE r15 @@ -143,6 +143,7 @@ _upb_fastdecode: ; Parse arguments into reg vals and stack. mov BUF, rdi + mov COMMITTED_BUF_SPILL, rdi mov END, rsi mov CALLBACK, rdx mov CLOSURE, rcx @@ -210,7 +211,6 @@ align 16 align 16 .string: - .cant_fast_path: mov rax, 0 ; UPB_CONTINUE -- continue as before. .done: |