From a0734793bf0b8871c0e843244a35e7337877835f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 19 Nov 2015 23:45:42 +0000 Subject: [PATCH] Fix a [-Werror,-Wcovered-switch-default] warning by removing the 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Target/WebAssembly/Relooper.cpp b/lib/Target/WebAssembly/Relooper.cpp index 61fdcc0cc7a..9b718ef094a 100644 --- a/lib/Target/WebAssembly/Relooper.cpp +++ b/lib/Target/WebAssembly/Relooper.cpp @@ -754,7 +754,6 @@ void RelooperAlgorithm::Calculate(Block *Entry) { loop(cast(var)); break; } - default: llvm_unreachable("invalid shape"); } } -- 2.34.1