Skip to content

Commit 9c0d745

Browse files
authored
Describe correct tail call behavior across modules
Whether tail calls across module boundaries would guarantee tail call behavior was previously an open question, but @thibaudmichaud confirmed that they would guarantee tail call behavior in V8 in WebAssembly/tail-call#15 (comment).
1 parent 394d0aa commit 9c0d745

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

proposals/tail-call/Overview.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ This can be applied to any form of call, that is:
4646

4747
* Tail calls to host functions cannot guarantee tail behaviour (outside the scope of the spec)
4848

49+
* Tail calls across WebAssembly module boundaries *do* guarantee tail behavior
50+
4951

5052
### Typing
5153

@@ -141,8 +143,3 @@ Use the reserved opcodes after existing call instructions, i.e.:
141143
### Text Format
142144

143145
The text format is extended with two new instructions in the obvious manner.
144-
145-
146-
## Open Questions
147-
148-
* Can tail calls across module boundaries guarantee tail behaviour?

0 commit comments

Comments
 (0)