Welcome! Log In Create A New Profile

Advanced

[njs] Removed aligned values which are not required since 0.6.0.

Dmitry Volyntsev
September 29, 2022 08:06PM
details: https://hg.nginx.org/njs/rev/c2a05d35ad72
branches:
changeset: 1969:c2a05d35ad72
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Sep 29 00:47:43 2022 -0700
description:
Removed aligned values which are not required since 0.6.0.

diffstat:

src/njs_function.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)

diffs (27 lines):

diff -r 60cf808fe4ff -r c2a05d35ad72 src/njs_function.c
--- a/src/njs_function.c Thu Sep 29 00:35:34 2022 -0700
+++ b/src/njs_function.c Thu Sep 29 00:47:43 2022 -0700
@@ -586,21 +586,14 @@ njs_function_call2(njs_vm_t *vm, njs_fun
const njs_value_t *this, const njs_value_t *args,
njs_uint_t nargs, njs_value_t *retval, njs_bool_t ctor)
{
- njs_int_t ret;
- njs_value_t dst njs_aligned(16);
+ njs_int_t ret;

ret = njs_function_frame(vm, function, this, args, nargs, ctor);
if (njs_slow_path(ret != NJS_OK)) {
return ret;
}

- ret = njs_function_frame_invoke(vm, &dst);
-
- if (ret == NJS_OK) {
- *retval = dst;
- }
-
- return ret;
+ return njs_function_frame_invoke(vm, retval);
}


_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

[njs] Removed aligned values which are not required since 0.6.0.

Dmitry Volyntsev 381 September 29, 2022 08:06PM



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

Online Users

Guests: 263
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