From e8cbe26ad1da0046bdbb6195ab1e0ab2b477adbd Mon Sep 17 00:00:00 2001 From: Yu Yin Date: Fri, 10 May 2019 10:01:37 +0300 Subject: [PATCH] Bug 1549667 - [mips64] Adding missing 'breaks' to 'switch' statements. r=jandem Reviewers: jandem Reviewed By: jandem Subscribers: jandem Bug #: 1549667 Differential Revision: https://phabricator.services.mozilla.com/D30167 --HG-- extra : rebase_source : 711093d29d76785f39f40612842cc3c32f434386 extra : histedit_source : 3ad96abcee5e8e78e89881ed503dd88bb72a8eb8 --- js/src/jit/mips64/CodeGenerator-mips64.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/jit/mips64/CodeGenerator-mips64.cpp b/js/src/jit/mips64/CodeGenerator-mips64.cpp index 2f102a37b194..9f05078eb9ca 100644 --- a/js/src/jit/mips64/CodeGenerator-mips64.cpp +++ b/js/src/jit/mips64/CodeGenerator-mips64.cpp @@ -80,6 +80,7 @@ void CodeGenerator::visitUnbox(LUnbox* unbox) { break; case MIRType::BigInt: masm.unboxBigInt(inputReg, result); + break; default: MOZ_CRASH("Given MIRType cannot be unboxed."); } @@ -105,6 +106,7 @@ void CodeGenerator::visitUnbox(LUnbox* unbox) { break; case MIRType::BigInt: masm.unboxBigInt(inputAddr, result); + break; default: MOZ_CRASH("Given MIRType cannot be unboxed."); }