[njs] Improved OPCODE debug.

Dmitry Volyntsev xeioex at nginx.com
Wed Jun 1 04:53:54 UTC 2022


details:   https://hg.nginx.org/njs/rev/bd520efc0df1
branches:  
changeset: 1870:bd520efc0df1
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Tue May 31 21:48:26 2022 -0700
description:
Improved OPCODE debug.

diffstat:

 src/njs_vmcode.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 1347c84742c0 -r bd520efc0df1 src/njs_vmcode.c
--- a/src/njs_vmcode.c	Tue May 31 21:48:19 2022 -0700
+++ b/src/njs_vmcode.c	Tue May 31 21:48:26 2022 -0700
@@ -801,6 +801,8 @@ next:
                     goto error;
                 }
 
+                njs_vmcode_debug(vm, pc, "RESUME");
+
                 ret = sizeof(njs_vmcode_function_call_t);
                 break;
 



More information about the nginx-devel mailing list