Mercurial > hg > index.cgi
view COPYING @ 338:5d401d1eb3e9
Allow disabling debugging messages.
Add test for LWASM_NODEBUG symbol to disable compiling the actual debug
message handling code.
Also, prevent building the debug message arguments if the debug level is not
going to display the message anyway. This comes at the possible expense of
larger code due to wrapping the debug_mesage() function in a macro that
tests the debug level directly. This should prevent calling expensive things
like building a dump of an expression when it is not required.
author | William Astle <lost@l-w.ca> |
---|---|
date | Tue, 05 Aug 2014 22:04:23 -0600 |
parents | 4e12d881df85 |
children | 659e0e4ce50c |
line wrap: on
line source
See the file GPL3 for a copy of the GNU General Public License, version 3, under which the majority of this distribution is licensed. Some specific source files, including many of those in the lwcc subdirectory are licensed differently. See each individual file for specific details.