From 734f0957fb8bc06ae6e5105d878f1b7007ce8b5d Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 11 Nov 2023 14:27:03 +0100 Subject: Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]] Basically a S&R. Removed the macro and adjusts IDL codegen accordingly. --- js/src/jit/Lowering.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/src/jit/Lowering.cpp') diff --git a/js/src/jit/Lowering.cpp b/js/src/jit/Lowering.cpp index 7f29d537a7..65895ca43d 100644 --- a/js/src/jit/Lowering.cpp +++ b/js/src/jit/Lowering.cpp @@ -2022,7 +2022,7 @@ LIRGenerator::visitToDouble(MToDouble* convert) case MIRType::Boolean: MOZ_ASSERT(conversion != MToFPInstruction::NumbersOnly); - MOZ_FALLTHROUGH; + [[fallthrough]]; case MIRType::Int32: { @@ -2077,7 +2077,7 @@ LIRGenerator::visitToFloat32(MToFloat32* convert) case MIRType::Boolean: MOZ_ASSERT(conversion != MToFPInstruction::NumbersOnly); - MOZ_FALLTHROUGH; + [[fallthrough]]; case MIRType::Int32: { -- cgit v1.2.3