Bug 175842

Summary: If a catch OSR exit becomes hot but we didn't compile the catch in DFG IR, we should consider reoptimizing the codeblock
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: NEW ---    
Severity: Normal CC: benjamin, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, rmorisset, ticaiolima, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 174590    
Bug Blocks:    

Description Saam Barati 2017-08-22 12:49:50 PDT
What could happen is:
- We notice an op_catch never executes, so we don't compile it
- Then we start exiting to that op_catch
- We never jettison

In such situations, it could be useful to jettison and reoptimize so the catch is optimized