summaryrefslogtreecommitdiff
path: root/src/tools/wasm-shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-shell.cpp')
-rw-r--r--src/tools/wasm-shell.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp
index f9efcd245..53436c9d3 100644
--- a/src/tools/wasm-shell.cpp
+++ b/src/tools/wasm-shell.cpp
@@ -84,8 +84,7 @@ struct Operation {
} else if (operation == GET) {
return instance->getExport(name);
} else {
- Fatal() << "unknown operation: " << operation << '\n';
- WASM_UNREACHABLE();
+ WASM_UNREACHABLE("unknown operation");
}
}
};