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 7eaea4b349
commit c566d4123c

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):