Fix a [-Werror,-Wcovered-switch-default] warning by removing the
authorEric Christopher <echristo@gmail.com>
Thu, 19 Nov 2015 23:45:42 +0000 (23:45 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Nov 2015 23:45:42 +0000 (23:45 +0000)
unnecessary default case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253621 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/Relooper.cpp

index 61fdcc0cc7a6c7abde5049af375ef5ca12f3455d..9b718ef094aa7e879bfe208183abfe65413b5e9f 100644 (file)
@@ -754,7 +754,6 @@ void RelooperAlgorithm::Calculate(Block *Entry) {
           loop(cast<LoopShape>(var));
           break;
         }
-        default: llvm_unreachable("invalid shape");
       }
     }