[njs] Removed aligned values which are not required since 0.6.0.
Dmitry Volyntsev
xeioex at nginx.com
Fri Sep 30 00:05:27 UTC 2022
details: https://hg.nginx.org/njs/rev/c2a05d35ad72
branches:
changeset: 1969:c2a05d35ad72
user: Dmitry Volyntsev <xeioex at 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);
}
More information about the nginx-devel
mailing list