summaryrefslogtreecommitdiff
path: root/src/wasm-linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-linker.h')
-rw-r--r--src/wasm-linker.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/wasm-linker.h b/src/wasm-linker.h
index b24056526..ceb948c4e 100644
--- a/src/wasm-linker.h
+++ b/src/wasm-linker.h
@@ -34,24 +34,6 @@ namespace wasm {
cashew::IString EMSCRIPTEN_ASM_CONST("emscripten_asm_const");
-// For fatal errors which could arise from input (i.e. not assertion failures)
-class Fatal {
- public:
- Fatal() {
- std::cerr << "Fatal: ";
- }
- template<typename T>
- Fatal &operator<<(T arg) {
- std::cerr << arg;
- return *this;
- }
- ~Fatal() {
- std::cerr << "\n";
- exit(1);
- }
-};
-
-
// Wasm module linking/layout information
class Linker {
public: