Welcome! Log In Create A New Profile

Advanced

[njs] Fixed comments "try" instructions.

Dmitry Volyntsev
January 17, 2019 09:04AM
details: https://hg.nginx.org/njs/rev/2e9bdb42b3e6
branches:
changeset: 731:2e9bdb42b3e6
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Jan 17 16:12:46 2019 +0300
description:
Fixed comments "try" instructions.

diffstat:

njs/njs_vm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9973704e2e36 -r 2e9bdb42b3e6 njs/njs_vm.c
--- a/njs/njs_vm.c Thu Jan 17 16:11:52 2019 +0300
+++ b/njs/njs_vm.c Thu Jan 17 16:12:46 2019 +0300
@@ -2386,7 +2386,7 @@ njs_vmcode_try_break(njs_vm_t *vm, njs_v


/*
- * njs_vmcode_try_break() sets exit_value to INVALID -1, and jumps to
+ * njs_vmcode_try_continue() sets exit_value to INVALID -1, and jumps to
* the nearest try_end block. The exit_value is checked by njs_vmcode_finally().
*/

@@ -2401,7 +2401,7 @@ njs_vmcode_try_continue(njs_vm_t *vm, nj

/*
* njs_vmcode_try_return() saves a return value to use it later by
- * njs_vmcode_finally(), and jumps to the nearest try_end block.
+ * njs_vmcode_finally(), and jumps to the nearest try_break block.
*/

nxt_noinline njs_ret_t
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed comments "try" instructions.

Dmitry Volyntsev 208 January 17, 2019 09:04AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready