Welcome! Log In Create A New Profile

Advanced

[njs] Simplified njs_vm_call().

Dmitry Volyntsev
January 10, 2019 11:02AM
details: https://hg.nginx.org/njs/rev/5da4da7386a8
branches:
changeset: 720:5da4da7386a8
user: hongzhidao <hongzhidao@gmail.com>
date: Tue Jan 08 05:02:20 2019 +0800
description:
Simplified njs_vm_call().

diffstat:

njs/njs.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)

diffs (19 lines):

diff -r 6ee587abd958 -r 5da4da7386a8 njs/njs.c
--- a/njs/njs.c Tue Jan 08 04:11:51 2019 +0800
+++ b/njs/njs.c Tue Jan 08 05:02:20 2019 +0800
@@ -479,14 +479,10 @@ njs_vm_call(njs_vm_t *vm, njs_function_t
return ret;
}

- ret = njs_vmcode_interpreter(vm);
+ ret = njs_vm_start(vm);

vm->current = current;

- if (ret == NJS_STOP) {
- ret = NXT_OK;
- }
-
return ret;
}

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

[njs] Simplified njs_vm_call().

Dmitry Volyntsev 97 January 10, 2019 11:02AM



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

Online Users

Guests: 85
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready