summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/binaryen-shell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binaryen-shell.cpp b/src/binaryen-shell.cpp
index 866ea2fa4..61cab723c 100644
--- a/src/binaryen-shell.cpp
+++ b/src/binaryen-shell.cpp
@@ -128,6 +128,7 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface {
}
return Literal();
} else if (import->module == ENV && import->base == EXIT) {
+ // XXX hack for torture tests
std::cout << "exit()\n";
throw ExitException();
}