From b28ad5ef906ca5c2df712efc915be07b2e82bfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 1 Jun 2020 12:28:59 +0200 Subject: [PATCH] Drop assert in FizzyEngine Drop assert which checks number of results in not greater than 1. This is not true for executions resulting in traps, and FizzyEngine is not the best place to check it. --- test/utils/fizzy_engine.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/test/utils/fizzy_engine.cpp b/test/utils/fizzy_engine.cpp index da3891b58d..e0943ed198 100644 --- a/test/utils/fizzy_engine.cpp +++ b/test/utils/fizzy_engine.cpp @@ -100,7 +100,6 @@ WasmEngine::Result FizzyEngine::execute( { const auto [trapped, result_stack] = fizzy::execute(*m_instance, static_cast(func_ref), args); - assert(result_stack.size() <= 1); return {trapped, !result_stack.empty() ? result_stack.back() : std::optional{}}; } } // namespace fizzy::test