// XXX (nat) Hmm, should we check ASSERT here? The caller is
// not expecting this function to return, whether assertions
// are compiled in or not.
if (DEBUG) {
AssertFailure af = new AssertFailure("ASSERT FAILED " + msgIfFail);
if (DEBUG_ON("AssertFailureTrace")) {
showTrace(af);
}
throw af;
}
else
throw new AssertFailure("ASSERT FAILED " + msgIfFail);
}