summaryrefslogtreecommitdiff
path: root/src/tools/wasm2c-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm2c-wrapper.h')
-rw-r--r--src/tools/wasm2c-wrapper.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tools/wasm2c-wrapper.h b/src/tools/wasm2c-wrapper.h
index 984a9b53a..53343f2d1 100644
--- a/src/tools/wasm2c-wrapper.h
+++ b/src/tools/wasm2c-wrapper.h
@@ -137,12 +137,6 @@ int main(int argc, char** argv) {
// compile times are O(size * num_setjmps).
for (size_t curr = 0;; curr++) {
)";
- if (wasm.getExportOrNull("hangLimitInitializer")) {
- ret += R"(
- // If present, call the hang limit initializer before each export.
- (*Z_hangLimitInitializerZ_vv)();
-)";
- }
ret += R"(
// Prepare to call the export, so we can catch traps.
if (WASM_RT_SETJMP(g_jmp_buf) != 0) {