summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wat-parser.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wasm/wat-parser.cpp b/src/wasm/wat-parser.cpp
index d5bda85fe..970901409 100644
--- a/src/wasm/wat-parser.cpp
+++ b/src/wasm/wat-parser.cpp
@@ -56,11 +56,6 @@
// may be passed the appropriate context type and return the correct result type
// for each phase.
-#define CHECK_ERR(val) \
- if (auto _val = (val); auto err = _val.getErr()) { \
- return Err{*err}; \
- }
-
using namespace std::string_view_literals;
namespace wasm::WATParser {