Skip to content

Truly independent web browser

578 B
Raw Blame
;; A host function that calls a function many times inside one call of the module, which traps in compiled code
;; whose call image is too large for the stack.
(module
  (import "env" "host" (func $host))
  (func $wide (export "wide") (param i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64) (unreachable))
  (func (export "outer") (call $host)))