summaryrefslogtreecommitdiff
path: root/js/src/jsgc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsgc.cpp')
-rw-r--r--js/src/jsgc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
index c849bacc8c..a488740ee3 100644
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -5418,7 +5418,7 @@ GCRuntime::incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason rea
incrementalState = State::MarkRoots;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case State::MarkRoots:
if (!beginMarkPhase(reason, lock)) {
@@ -5428,7 +5428,7 @@ GCRuntime::incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason rea
incrementalState = State::Mark;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case State::Mark:
AutoGCRooter::traceAllWrappers(&marker);
@@ -5472,7 +5472,7 @@ GCRuntime::incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason rea
if (budget.isOverBudget())
break;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case State::Sweep:
if (performSweepActions(budget, lock) == NotFinished)
@@ -5482,7 +5482,7 @@ GCRuntime::incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason rea
incrementalState = State::Finalize;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case State::Finalize:
{
@@ -5516,7 +5516,7 @@ GCRuntime::incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason rea
if (isCompacting && isIncremental)
break;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case State::Compact:
if (isCompacting) {
@@ -5532,7 +5532,7 @@ GCRuntime::incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason rea
startDecommit();
incrementalState = State::Decommit;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case State::Decommit:
{