You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
The proposal currently positions the event section after the global section. However, it is perceivable that under some future extensions, the initialiser expressions for a global might be generalised such that they can contain instructions that refer to exceptions. At the same time, there is no apparent reason to assume that exception defs would ever need to refer to globals.
Thus, in order to keep validation as single-pass as possible, I'd propose switching the order of global and event section in the binary format.
Activity
aheejin commentedon Feb 4, 2020
Sounds good. I requested this change in v8. Will change this in LLVM / Binaryen/ Wabt after V8 change is implemented.
Put event section before global section
Put event section before global section (#100)
Put event section before global section
Put event section before global section (#12)
[wasm] Fix placement of the events section
Move event section before global section
Move event section before global section (#1374)
[WebAssembly] Move event section before global section
aheejin commentedon Mar 25, 2020
This has been reflected in:
LLVM: llvm/llvm-project@f93426c
V8: v8/v8@92bd781
Binaryen: WebAssembly/binaryen#2708
Wabt: WebAssembly/wabt#1374
Closing this.
[WebAssembly] Move event section before global section
Put event section before global section (WebAssembly#100)
Put event section before global section (WebAssembly#100)
[WebAssembly] Move event section before global section