Closed
Bug 1263205
Opened 9 years ago
Closed 9 years ago
wasm: section header and name tweaks
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla49
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | fixed |
People
(Reporter: sunfish, Assigned: sunfish)
References
Details
Attachments
(3 files, 2 obsolete files)
|
25.05 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
|
2.84 KB,
patch
|
sunfish
:
review+
|
Details | Diff | Splinter Review |
|
12.98 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
Section header format tweak: https://github.com/WebAssembly/design/pull/639
Section name tweaks: https://github.com/WebAssembly/design/pull/638
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8739506 -
Flags: review?(luke)
| Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8739507 -
Flags: review?(luke)
Comment 3•9 years ago
|
||
Comment on attachment 8739506 [details] [diff] [review]
wasm-section-tweaks.patch
Review of attachment 8739506 [details] [diff] [review]:
-----------------------------------------------------------------
Ah, much simpler. Idea, feel free to take it or leave it: we could have a struct Section { size_t startOffset; size_t size }; as the in/out param.
Attachment #8739506 -
Flags: review?(luke) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8739507 [details] [diff] [review]
wasm-section-names.patch
Review of attachment 8739507 [details] [diff] [review]:
-----------------------------------------------------------------
(and to be clear, we're waiting to land these patches until has been updated with Wasm.experimentalVersion == 0xb)
Attachment #8739507 -
Flags: review?(luke) → review+
| Assignee | ||
Comment 5•9 years ago
|
||
Rebased on trunk and latest wasm-postorder patch. Carrying forward r+.
Attachment #8739507 -
Attachment is obsolete: true
Attachment #8743031 -
Flags: review+
Comment 6•9 years ago
|
||
This patch implements https://github.com/WebAssembly/design/commit/54da3d5c19b18d19ccb12af5dda00edb71859759
Attachment #8743573 -
Flags: review?(bbouvier)
Comment 7•9 years ago
|
||
Comment on attachment 8743573 [details] [diff] [review]
wasm-section-form.patch
Review of attachment 8743573 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good! About allowing back duplication of signatures: is it because it was never disallowed in the spec?
::: js/src/asmjs/WasmBinaryToText.cpp
@@ +1297,5 @@
> + if (!c.d.readValType(&type))
> + return RenderFail(c, "bad expression type");
> +
> + result = ToExprType(type);
> + }
Can you add an `if (numRests > 1)` branch above with a RenderFail(NYI), please? It'd be nicer, for the future, than a decoding error somewhere further down.
Attachment #8743573 -
Flags: review?(bbouvier) → review+
Comment 8•9 years ago
|
||
Updated
Attachment #8743573 -
Attachment is obsolete: true
Attachment #8743836 -
Flags: review+
Comment 10•9 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f9942b8651f4
https://hg.mozilla.org/mozilla-central/rev/ec70afdb3fa8
https://hg.mozilla.org/mozilla-central/rev/d01f4f50db37
https://hg.mozilla.org/mozilla-central/rev/019a39ca536e
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•