]> git.kaiwu.me - njs.git/commitdiff
Removed aligned values which are not required since 0.6.0.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 29 Sep 2022 07:47:43 +0000 (00:47 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 29 Sep 2022 07:47:43 +0000 (00:47 -0700)
src/njs_function.c

index 1c21dd003b1dfc01c7a83754ab49c19f49ded296..58fef67a725bfb207142dd9d6d45eeb6b00e248e 100644 (file)
@@ -586,21 +586,14 @@ njs_function_call2(njs_vm_t *vm, njs_function_t *function,
     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);
 }