mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1210099 - Use diagnostic assert for union discriminator checks (r=jld)
This commit is contained in:
parent
5411c7a958
commit
aa01ca391d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user