Closed
Bug 1825104
Opened 3 years ago
Closed 4 months ago
Add tests for br_on_cast, br_on_null, etc that have extra results in addition to the ref on top of stack
Categories
(Core :: JavaScript: WebAssembly, task, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
148 Branch
| Tracking | Status | |
|---|---|---|
| firefox148 | --- | fixed |
People
(Reporter: rhunt, Assigned: rhunt)
References
Details
Attachments
(1 file)
The br_on_X instructions will pop the top of the stack and branch on it depending on X. However, they can also pass additional values as extra results.
e.g.:
(block (result (ref null 0) i32 i32)
i32.const 0
i32.const 0
local.get
br_on_cast 0
unreachable
)
We lack test coverage here and should add more.
Comment 1•1 year ago
|
||
Adding a dependency on bug 1949849 so we can combine our efforts.
Depends on: 1949849
| Assignee | ||
Updated•11 months ago
|
Severity: -- → N/A
| Assignee | ||
Updated•4 months ago
|
Assignee: nobody → rhunt
| Assignee | ||
Comment 2•4 months ago
|
||
Pushed by rhunt@eqrion.net:
https://github.com/mozilla-firefox/firefox/commit/81f04ec25cc9
https://hg.mozilla.org/integration/autoland/rev/54aac4f64230
wasm: Add test. r=bvisness
Comment 4•4 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 4 months ago
status-firefox148:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
Updated•4 months ago
|
QA Whiteboard: [qa-triage-done-c149/b148]
You need to log in
before you can comment on or make changes to this bug.
Description
•