< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/ReplacementsUtil.java

Print this page

        

*** 29,39 **** public final class ReplacementsUtil { private ReplacementsUtil() { // empty } ! public static final boolean REPLACEMENTS_ASSERTIONS_ENABLED = Assertions.ENABLED; /** * Asserts that condition evaluates to true by the time compilation is finished. This is * intended to be used within snippets or stubs, and will lead to a compile error if the * assertion fails. --- 29,39 ---- public final class ReplacementsUtil { private ReplacementsUtil() { // empty } ! public static final boolean REPLACEMENTS_ASSERTIONS_ENABLED = Assertions.assertionsEnabled(); /** * Asserts that condition evaluates to true by the time compilation is finished. This is * intended to be used within snippets or stubs, and will lead to a compile error if the * assertion fails.
< prev index next >