Bug 1210099 - Use diagnostic assert for union discriminator checks (r=jld)

This commit is contained in:
Bill McCloskey 2016-02-04 15:12:39 -08:00
parent 5411c7a958
commit aa01ca391d

View File

@ -311,7 +311,7 @@ function would return true for |Actor[]|."""
def _abortIfFalse(cond, msg):
return StmtExpr(ExprCall(
ExprVar('MOZ_ASSERT'),
ExprVar('MOZ_DIAGNOSTIC_ASSERT'),
[ cond, ExprLiteral.String(msg) ]))
def _runtimeAbort(msg):