From 54bca55ae5212002f8b5178f3d427cb4f54be233 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 14 Jun 2023 13:32:15 +0200 Subject: cooker: Fix up debugging messages for "return" Signed-off-by: Stefano Brivio --- cooker/emit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cooker/emit.h') diff --git a/cooker/emit.h b/cooker/emit.h index b4f1ae7..7413eec 100644 --- a/cooker/emit.h +++ b/cooker/emit.h @@ -28,8 +28,8 @@ void emit_cmp_field(struct gluten_ctx *g, enum op_cmp_type cmp, struct field *field, struct gluten_offset base, struct gluten_offset match, enum jump_type jmp); -void emit_return(struct gluten_ctx *g, struct gluten_offset v, int32_t error, - bool cont); +void emit_return(struct gluten_ctx *g, struct gluten_offset v, + struct gluten_offset error, bool cont); void emit_copy(struct gluten_ctx *g, struct gluten_offset dst, struct gluten_offset src, size_t size); void emit_copy_field(struct gluten_ctx *g, struct field *field, -- cgit v1.2.3