Make debug fields compile-time constants to improve release runtime performance

This commit is contained in:
Sam Harwell 2012-12-05 18:56:54 -06:00
parent 886baaf773
commit 64a4114850
1 changed files with 4 additions and 4 deletions

View File

@ -253,10 +253,10 @@ import java.util.Set;
*/
public class ParserATNSimulator extends ATNSimulator {
public static boolean debug = false;
public static boolean debug_list_atn_decisions = false;
public static boolean dfa_debug = false;
public static boolean retry_debug = false;
public static final boolean debug = false;
public static final boolean debug_list_atn_decisions = false;
public static final boolean dfa_debug = false;
public static final boolean retry_debug = false;
public static int ATN_failover = 0;
public static int predict_calls = 0;