summaryrefslogtreecommitdiff
path: root/src/tools/execution-results.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/execution-results.h')
-rw-r--r--src/tools/execution-results.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/execution-results.h b/src/tools/execution-results.h
index d12c84d1e..569052086 100644
--- a/src/tools/execution-results.h
+++ b/src/tools/execution-results.h
@@ -226,12 +226,8 @@ struct ExecutionResults {
FunctionResult run(Function* func, Module& wasm, ModuleRunner& instance) {
try {
- Literals arguments;
- // init hang support, if present
- if (auto* ex = wasm.getExportOrNull("hangLimitInitializer")) {
- instance.callFunction(ex->value, arguments);
- }
// call the method
+ Literals arguments;
for (const auto& param : func->getParams()) {
// zeros in arguments TODO: more?
if (!param.isDefaultable()) {