X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftop%2FSCLCompilerConfiguration.java;fp=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftop%2FSCLCompilerConfiguration.java;h=799a1495addbe0897c8fcc8bb4dec0a37a3133ac;hp=0000000000000000000000000000000000000000;hb=969bd23cab98a79ca9101af33334000879fb60c5;hpb=866dba5cd5a3929bbeae85991796acb212338a08 diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/top/SCLCompilerConfiguration.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/top/SCLCompilerConfiguration.java new file mode 100755 index 000000000..799a1495a --- /dev/null +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/top/SCLCompilerConfiguration.java @@ -0,0 +1,36 @@ +package org.simantics.scl.compiler.top; + + +public interface SCLCompilerConfiguration { + + public static final boolean DEBUG = false; + public static final boolean ENABLE_TIMING = false; + + public static final boolean SHOW_SSA_BEFORE_OPTIMIZATION = false; + public static final boolean SHOW_SSA_BEFORE_LAMBDA_LIFTING = false; + public static final boolean SHOW_FINAL_SSA = false; + public static final boolean SHOW_COMPILED_BYTECODE = false; + public static final boolean SHOW_LOADED_CLASSES_DISASSEMBLED = false; + + public static final boolean SHOW_EXPRESSION_BEFORE_EVALUATION = false; + public static final boolean SHOW_INTERPRETED_EXPRESSION = false; + + public static final boolean SHOW_COMPILED_RULES = false; + + public static final boolean VALIDATE_AFTER_OPTIMIZATIONS = false; + public static final boolean TRACE_CONSTRAINT_SOLVER = false; + public static final boolean PRINT_OPTIMIZATION_TRANSFORMATIONS = false; + public static final boolean EXCEPTIONS_TO_COMPILATION_ERRORS = false; + + public static final boolean NULL_CHECK_THREAD_LOCAL_VARIABLES = false; + + public static final boolean TRACE_METHOD_CREATION = false; + + public static final boolean TRACE_MODULE_UPDATE = false; + + // Flags related to too long method sizes + public static final boolean TRACE_MAX_METHOD_SIZE = false; + public static final boolean EVERY_RULE_ENFORCEMENT_IN_SEPARATE_METHOD = true; + public static final boolean EVERY_DATALOG_STRATUM_IN_SEPARATE_METHOD = true; + +}