Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit 263503e

Browse files
wingorossberg
authored andcommitted
Expand implementation-defined limits on func/block param/result counts (#27)
1 parent 8082a1d commit 263503e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

document/js-api/index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,8 +1149,8 @@ In practice, an implementation may run out of resources for valid modules below
11491149
<li>The maximum number of memories, including declared or imported memories, is 1.</li>
11501150
<li>The initial or maximum number of pages for any memory, declared or imported, is at most 32767.</li>
11511151

1152-
<li>The maximum number of parameters to any function is 1000.</li>
1153-
<li>The maximum number of return values for any function is 1.</li>
1152+
<li>The maximum number of parameters to any function or block is 1000.</li>
1153+
<li>The maximum number of return values for any function or block is 1000.</li>
11541154
<li>The maximum size of a function body, including locals declarations, is 7654321 bytes.</li>
11551155
<li>The maximum number of locals declared in a function, including implicitly declared as parameters, is 50000.</li>
11561156

0 commit comments

Comments
 (0)