From fd184f0df2e5e428873eadfaf1ae829d2e4d8e51 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 22 Feb 2011 01:54:31 -0800 Subject: Major work on Lua extension and default values. Default values are now supported, and the Lua extension can now create and modify individual protobuf objects. --- src/upb_decoder_x64.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/upb_decoder_x64.asm') 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: -- cgit v1.2.3