File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/analysis/tesa Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3838import com .oracle .graal .pointsto .BigBang ;
3939import com .oracle .graal .pointsto .meta .AnalysisMethod ;
4040import com .oracle .graal .pointsto .results .StrengthenGraphs ;
41+ import com .oracle .svm .core .SubstrateUtil ;
4142import com .oracle .svm .core .option .HostedOptionKey ;
4243import com .oracle .svm .core .traits .BuiltinTraits .BuildtimeAccessOnly ;
4344import com .oracle .svm .core .traits .BuiltinTraits .NoLayeredCallbacks ;
@@ -84,8 +85,8 @@ public static class Options {
8485 @ Option (help = "Enable Transitive Effect Summary Analysis (TESA)." )//
8586 public static final HostedOptionKey <Boolean > TransitiveEffectSummaryAnalysis = new HostedOptionKey <>(true );
8687
87- @ Option (help = "Print TESA results to the console." )//
88- public static final HostedOptionKey <Boolean > TesaPrintToConsole = new HostedOptionKey <>(true );
88+ @ Option (help = "Print TESA results to the console. Enabled automatically with assertions. " )//
89+ public static final HostedOptionKey <Boolean > TesaPrintToConsole = new HostedOptionKey <>(SubstrateUtil . assertionsEnabled () );
8990
9091 @ Option (help = "Throw an exception if any TESA instance fails to reach a fixed point within the expected number of iterations." )//
9192 public static final HostedOptionKey <Boolean > TesaThrowOnNonTermination = new HostedOptionKey <>(true );
You can’t perform that action at this time.
0 commit comments