[njs] Disabled njs_object_prop_alloc() inlining.

Igor Sysoev igor at sysoev.ru
Tue Aug 8 15:07:30 UTC 2017


details:   http://hg.nginx.org/njs/rev/bd7e5e51b6be
branches:  
changeset: 394:bd7e5e51b6be
user:      Igor Sysoev <igor at sysoev.ru>
date:      Tue Aug 08 18:05:11 2017 +0300
description:
Disabled njs_object_prop_alloc() inlining.

diffstat:

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

diffs (12 lines):

diff -r 49a8c7cfb121 -r bd7e5e51b6be njs/njs_object.c
--- a/njs/njs_object.c	Tue Aug 08 17:47:56 2017 +0300
+++ b/njs/njs_object.c	Tue Aug 08 18:05:11 2017 +0300
@@ -173,7 +173,7 @@ njs_object_hash_test(nxt_lvlhsh_query_t 
 }
 
 
-njs_object_prop_t *
+nxt_noinline njs_object_prop_t *
 njs_object_prop_alloc(njs_vm_t *vm, const njs_value_t *name,
     const njs_value_t *value, uint8_t attributes)
 {


More information about the nginx-devel mailing list