diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 13:32:19 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:31 -0400 |
commit | c185c2fe7230c30b3da9bf1b943a6efe3ad4f55c (patch) | |
tree | 8609ddc792802bb65dcf24ac814cc60cc1c1f500 /js/src/jsexn.h | |
parent | 3765f057896718bfca3056728a485448bfb411cb (diff) | |
download | UXP-c185c2fe7230c30b3da9bf1b943a6efe3ad4f55c.tar UXP-c185c2fe7230c30b3da9bf1b943a6efe3ad4f55c.tar.gz UXP-c185c2fe7230c30b3da9bf1b943a6efe3ad4f55c.tar.lz UXP-c185c2fe7230c30b3da9bf1b943a6efe3ad4f55c.tar.xz UXP-c185c2fe7230c30b3da9bf1b943a6efe3ad4f55c.zip |
1283712 - Part 2: Add JSEXN_NOTE.
Diffstat (limited to 'js/src/jsexn.h')
-rw-r--r-- | js/src/jsexn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/jsexn.h b/js/src/jsexn.h index 1698bb2e9..00120d89c 100644 --- a/js/src/jsexn.h +++ b/js/src/jsexn.h @@ -70,7 +70,8 @@ static_assert(JSEXN_ERR == 0 && JSProto_Error + JSEXN_WASMCOMPILEERROR == JSProto_CompileError && JSProto_Error + JSEXN_WASMRUNTIMEERROR == JSProto_RuntimeError && JSEXN_WASMRUNTIMEERROR + 1 == JSEXN_WARN && - JSEXN_WARN + 1 == JSEXN_LIMIT, + JSEXN_WARN + 1 == JSEXN_NOTE && + JSEXN_NOTE + 1 == JSEXN_LIMIT, "GetExceptionProtoKey and ExnTypeFromProtoKey require that " "each corresponding JSExnType and JSProtoKey value be separated " "by the same constant value"); |