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