Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

List possible implementation limits#438

Merged
rossberg merged 5 commits into
mainfrom
spec.limits
Sep 20, 2023
Merged

List possible implementation limits#438
rossberg merged 5 commits into
mainfrom
spec.limits

Conversation

@rossberg

@rossberg rossberg commented Sep 20, 2023

Copy link
Copy Markdown
Member

Noticed that we still needed to extend those bullet lists in the appendix.

@rossberg rossberg requested review from titzer and tlively September 20, 2023 13:31
@rossberg rossberg mentioned this pull request Sep 20, 2023
53 tasks

@titzer titzer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with small comment

* the nesting depth of :ref:`structured control instructions <syntax-instr-control>`
* the number of :ref:`label indices <syntax-labelidx>` in a |brtable| instruction
* the number of :ref:`label indices <syntax-labelidx>` in a |BRTABLE| instruction
* the length of the array in a |ARRAYNEWFIXED| instruction

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT this is also limited by the bytecode length, but I'm fine specifying it separately this way.

Do we have a limitation on the size of an initializer expression?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, added.

@rossberg rossberg merged commit 4ed4eb4 into main Sep 20, 2023
@rossberg rossberg deleted the spec.limits branch September 20, 2023 21:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants