And lots of other miscellaneous changes. Rename InstanceWorld to InstancePlus and reorganize its contents. This still isn't a great name, but at least now it has a clear purpose.
27 lines
506 B
Plaintext
27 lines
506 B
Plaintext
(module
|
|
(func $foo
|
|
(call $foo)
|
|
)
|
|
(func (export "stack_overflow")
|
|
(call $foo)
|
|
)
|
|
)
|
|
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|
|
|
|
(module
|
|
(func $foo
|
|
(call $bar)
|
|
)
|
|
(func $bar
|
|
(call $foo)
|
|
)
|
|
(func (export "stack_overflow")
|
|
(call $foo)
|
|
)
|
|
)
|
|
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|