Skip to content

Commit

Permalink
Put event section before global section (WebAssembly#100)
Browse files Browse the repository at this point in the history
Addresses WebAssembly#98.
  • Loading branch information
aheejin authored and ioannad committed Jun 6, 2020
1 parent 5f09fc4 commit e7eaba9
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit e7eaba9

Please sign in to comment.