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   

Description JF Bastien 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.