From: Andrea Corallo Date: Fri, 24 May 2019 15:38:02 +0000 (+0200) Subject: move return into the right place X-Git-Tag: emacs-28.0.90~2727^2~1522 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a80140032be992d170925f274fad215de97d9a50;p=emacs.git move return into the right place --- diff --git a/src/comp.c b/src/comp.c index 3f0db646660..4b01a057054 100644 --- a/src/comp.c +++ b/src/comp.c @@ -763,6 +763,10 @@ compile_f (const char *f_name, ptrdiff_t bytestr_length, break; case Breturn: + POP1; + gcc_jit_block_end_with_return(comp.block, + NULL, + args[0]); break; case Bdiscard: @@ -930,10 +934,6 @@ compile_f (const char *f_name, ptrdiff_t bytestr_length, } } - stack--; - gcc_jit_block_end_with_return(comp.block, - NULL, - *stack); comp_res.gcc_res = gcc_jit_context_compile(comp.ctxt); goto exit;