Commit ce9ac7a
authored
wasm: disable tail-call flag for now (#2440)
As reported and confirmed from a ghc wasm backend user, tail-call
opcodes may cause ios webview crashes for some large haskell wasm
apps, and removing tail-call opcodes fixes the crash. Given webkit
only supported tail-call since 18.2, it's better to disable tail-call
flag for the time being and revisit this in the future.
This patch also removes --no-turbo-fast-api-calls from the dyld script
flags, since it was used to workaround
nodejs/node#46777 when wasm module uses tail
calls. It's not needed when tail calls are not used and it has a
performance penalty.1 parent e742479 commit ce9ac7a
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | 629 | | |
631 | 630 | | |
632 | 631 | | |
| |||
0 commit comments