Mercurial > hg > truffle
comparison graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/GraalOptions.java @ 19176:938a290903f3
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 06 Feb 2015 14:42:44 +0100 |
parents | 3b2e98f9e47c 0751ebc54c13 |
children | 637ca4d37bca |
comparison
equal
deleted
inserted
replaced
19175:4cee43cd1315 | 19176:938a290903f3 |
---|---|
349 /** | 349 /** |
350 * Counts the various paths taken through snippets. | 350 * Counts the various paths taken through snippets. |
351 */ | 351 */ |
352 @Option(help = "", type = OptionType.Debug) | 352 @Option(help = "", type = OptionType.Debug) |
353 public static final OptionValue<Boolean> SnippetCounters = new OptionValue<>(false); | 353 public static final OptionValue<Boolean> SnippetCounters = new OptionValue<>(false); |
354 | |
355 @Option(help = "Enable expensive assertions", type = OptionType.Debug) | |
356 public static final OptionValue<Boolean> DetailedAsserts = new StableOptionValue<Boolean>() { | |
357 @Override | |
358 protected Boolean initialValue() { | |
359 boolean enabled = false; | |
360 // turn detailed assertions on when the general assertions are on (misusing the assert keyword for this) | |
361 assert (enabled = true) == true; | |
362 return enabled; | |
363 } | |
364 }; | |
354 } | 365 } |