Bug 1083467 - Part 2: Increment expected JSErr_Limit to 369 to fix Xdr static assertion!
authorChris Peterson <cpeterson@mozilla.com>
Fri, 12 Dec 2014 22:36:29 -0800
changeset 219646 7a3e8ce41a29f86b8bae68b43e15bfc4ad95f73c
parent 219645 cfe6c380dacfdbeab204ae670862725b628d565e
child 219647 5ac338f56e425d3bbaea2fa79e3e76a418c14b27
push id27967
push userryanvm@gmail.com
push dateMon, 15 Dec 2014 18:52:54 +0000
treeherdermozilla-central@5d6e0d038f95 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1083467
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1083467 - Part 2: Increment expected JSErr_Limit to 369 to fix Xdr static assertion!
js/src/vm/Xdr.h
--- a/js/src/vm/Xdr.h
+++ b/js/src/vm/Xdr.h
@@ -39,17 +39,17 @@ static const uint32_t XDR_BYTECODE_VERSI
 static_assert(XDR_BYTECODE_VERSION_SUBTRAHEND % 2 == 0, "see the comment above");
 static const uint32_t XDR_BYTECODE_VERSION =
     uint32_t(0xb973c0de - (XDR_BYTECODE_VERSION_SUBTRAHEND
 #ifdef JS_HAS_SYMBOLS
                                                            + 1
 #endif
                                                               ));
 
-static_assert(JSErr_Limit == 368,
+static_assert(JSErr_Limit == 369,
               "GREETINGS, POTENTIAL SUBTRAHEND INCREMENTER! If you added or "
               "removed MSG_DEFs from js.msg, you should increment "
               "XDR_BYTECODE_VERSION_SUBTRAHEND and update this assertion's "
               "expected JSErr_Limit value.");
 
 class XDRBuffer {
   public:
     explicit XDRBuffer(JSContext *cx)