OSDN Git Service

Compile speed improvement.
authoraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2004 23:12:38 +0000 (23:12 +0000)
committeraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2004 23:12:38 +0000 (23:12 +0000)
commit2fcca2750944f406c81667d7727b16b855a05b1a
tree73c556621e0d71d58f121d9b67e7f8333bfceafb
parentac6db7811a9e6e9f2169fe609f21368ba81c8756
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87059 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c