Module Name: src Committed By: rillig Date: Tue Jan 26 18:38:58 UTC 2021
Modified Files: src/usr.bin/xlint/common: tyname.c Log Message: lint: remove __noinline attribute from string interning function I had committed this accidentally while ensuring that the generated code is still efficient even though the source code looks heavy with the double pointer indirection. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/xlint/common/tyname.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/xlint/common/tyname.c diff -u src/usr.bin/xlint/common/tyname.c:1.25 src/usr.bin/xlint/common/tyname.c:1.26 --- src/usr.bin/xlint/common/tyname.c:1.25 Sun Jan 24 11:55:57 2021 +++ src/usr.bin/xlint/common/tyname.c Tue Jan 26 18:38:57 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: tyname.c,v 1.25 2021/01/24 11:55:57 rillig Exp $ */ +/* $NetBSD: tyname.c,v 1.26 2021/01/26 18:38:57 rillig Exp $ */ /*- * Copyright (c) 2005 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ #include <sys/cdefs.h> #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: tyname.c,v 1.25 2021/01/24 11:55:57 rillig Exp $"); +__RCSID("$NetBSD: tyname.c,v 1.26 2021/01/26 18:38:57 rillig Exp $"); #endif #include <limits.h> @@ -82,7 +82,7 @@ new_name_tree_node(const char *name) } /* Return the canonical instance of the string, with unlimited life time. */ -static const char * __noinline +static const char * intern(const char *name) { name_tree_node *n = type_names, **next;