From 263503eee4fb9d628c765c5fb0c1ffcf46be608b Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 7 Nov 2019 17:12:42 +0100 Subject: [PATCH] Expand implementation-defined limits on func/block param/result counts (#27) --- document/js-api/index.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/document/js-api/index.bs b/document/js-api/index.bs index 26d17b7b30..ceeadd989c 100644 --- a/document/js-api/index.bs +++ b/document/js-api/index.bs @@ -1149,8 +1149,8 @@ In practice, an implementation may run out of resources for valid modules below
  • The maximum number of memories, including declared or imported memories, is 1.
  • The initial or maximum number of pages for any memory, declared or imported, is at most 32767.
  • -
  • The maximum number of parameters to any function is 1000.
  • -
  • The maximum number of return values for any function is 1.
  • +
  • The maximum number of parameters to any function or block is 1000.
  • +
  • The maximum number of return values for any function or block is 1000.
  • The maximum size of a function body, including locals declarations, is 7654321 bytes.
  • The maximum number of locals declared in a function, including implicitly declared as parameters, is 50000.