From ad56d7f07c2d0eaf89e0327e06aefa2d04ba9ea7 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 4 Dec 2019 18:48:35 -0800 Subject: [PATCH] fix --- src/passes/Print.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 682b7bc5b00..a8d9383bf31 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -204,8 +204,9 @@ struct PrintExpressionContents o << "16"; } else if (bytes == 4) { o << "32"; + } else { + WASM_UNREACHABLE("invalid RMW byte length"); } - WASM_UNREACHABLE("invalid RMW byte length"); } o << '.'; }