Bug 177210

Summary: WebAssembly: use trap to detect invalid index in call_indirect
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: WebAssemblyAssignee: 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
Reported 2017-09-19 16:59:36 PDT
Signature::invalidIndex is zero, so if we have trap handlers B3IRGenerator::addCallIndirect doesn't need to do an explicit check.
Attachments
Note You need to log in before you can comment on or make changes to this bug.