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

Put event section before global section #100

Merged
merged 1 commit into from
Feb 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions proposals/Exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,10 @@ appear immediately after the global section.
##### Event section

The `event` section is the named section 'event'. For ease of validation, this
section comes after the [global
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#global-section)
and before the [export
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#export-section).
section comes after the [memory
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#memory-section)
and before the [global
section](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#global-section).
So the list of all sections will be:

| Section Name | Code | Description |
Expand All @@ -427,8 +427,8 @@ So the list of all sections will be:
| Function | `3` | Function declarations |
| Table | `4` | Indirect function table and other tables |
| Memory | `5` | Memory attributes |
| Global | `6` | Global declarations |
| Event | `13` | Event declarations |
| Global | `6` | Global declarations |
| Export | `7` | Exports |
| Start | `8` | Start function declaration |
| Element | `9` | Elements section |
Expand Down