Bug 177210
| Summary: | WebAssembly: use trap to detect invalid index in call_indirect | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
| Component: | WebAssembly | Assignee: | Keith Miller <keith_miller> |
| Status: | NEW | ||
| Severity: | Normal | CC: | fpizlo, jfbastien, keith_miller, mark.lam, msaboff, rmorisset, saam |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
JF Bastien
Signature::invalidIndex is zero, so if we have trap handlers B3IRGenerator::addCallIndirect doesn't need to do an explicit check.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |