diff options
author | Justin Seyster <justin.seyster@mongodb.com> | 2022-03-07 18:25:57 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-09 01:06:01 +0000 |
commit | 00154dd188be8875da0ba92473e320122bb7fb87 (patch) | |
tree | d41ef1cbc96ef5f1bf25738a3ff4723cfedaab11 /src | |
parent | 5a3ec65dd434f7700ba2f2b173c35a7c4b022437 (diff) | |
download | mongo-00154dd188be8875da0ba92473e320122bb7fb87.tar.gz |
SERVER-61008 Replace instance of MOZ_CRASH with MOZ_ASSERT_UNREACHABLE
Diffstat (limited to 'src')
-rw-r--r-- | src/third_party/mozjs/extract/js/src/gc/RootMarking.cpp | 2 | ||||
-rwxr-xr-x | src/third_party/mozjs/get-sources.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/mozjs/extract/js/src/gc/RootMarking.cpp b/src/third_party/mozjs/extract/js/src/gc/RootMarking.cpp index b7c4343b1af..be05506af9f 100644 --- a/src/third_party/mozjs/extract/js/src/gc/RootMarking.cpp +++ b/src/third_party/mozjs/extract/js/src/gc/RootMarking.cpp @@ -48,7 +48,7 @@ using RootEnum = RootedValueMap::Enum; // ConcreteTraceable type are actually used at runtime. struct ConcreteTraceable { ConcreteTraceable() = delete; - void trace(JSTracer*) { MOZ_CRASH("This path is unreachable."); } + void trace(JSTracer*) { MOZ_ASSERT_UNREACHABLE(); } }; template <typename T> diff --git a/src/third_party/mozjs/get-sources.sh b/src/third_party/mozjs/get-sources.sh index 5ad2fc80b5d..18e09f63935 100755 --- a/src/third_party/mozjs/get-sources.sh +++ b/src/third_party/mozjs/get-sources.sh @@ -9,7 +9,7 @@ set -vx NAME=spidermonkey LIB_GIT_BRANCH=spidermonkey-esr91.3-cpp-only -LIB_GIT_REVISION=179e7dcf0d54894d023598467eda2c380eb770c8 +LIB_GIT_REVISION=56b91512f0c6d8db9e676403e2b7b6634beb00d4 LIB_GIT_REPO=git@github.com:mongodb-forks/spidermonkey.git DEST_DIR=$(git rev-parse --show-toplevel)/src/third_party/mozjs |