Compile speed improvement.
authorMatt Austern <austern@apple.com>
Fri, 3 Sep 2004 23:12:38 +0000 (23:12 +0000)
committerMatt Austern <austern@gcc.gnu.org>
Fri, 3 Sep 2004 23:12:38 +0000 (23:12 +0000)
commit6983ea08a2e1b301f6f373eb49033e5d12475583
tree73c556621e0d71d58f121d9b67e7f8333bfceafb
parent80d8221e0c34594db9939116db262200b4b7c242
Compile speed improvement.

* parser.c (cp_lexer_print_token): Only define if ENABLE_CHECKING set.
Otherwise define a stub macro that expands to nothing.
(cp_lexer_debugging_p): Only define if ENABLE_CHECKING set.  Otherwise
define a stub macro that expands to 0.
(cp_lexer_start_debugging): Only define if ENABLE_CHECKING set.
(cp_lexer_stop_debugging): Likewise.
(cp_lexer_debug_stream): Only define if ENABLE_CHECKING set.  Otherwise
define a stub macro that expands to NULL.
(cp_lexer_new_main): Only set debugging_p if ENABLE_CHECKING set.
(cp_lexer_new_from_tokens): Likewise.

From-SVN: r87059
gcc/cp/ChangeLog
gcc/cp/parser.c