Bug 148331

Summary: DFG::PutStackSinkingPhase doesn't need to emit KillStack nodes
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, basile_clement, benjamin, ggaren, mark.lam, mhahnenb, msaboff, nrotem, oliver, saam, sam
Priority: P2    
Version: Other   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 145204    
Attachments:
Description Flags
the patch ggaren: review+

Description Filip Pizlo 2015-08-21 14:35:51 PDT
PutStackSinkingPhase currently emits KillStack nodes when it sinks a PutStack. This isn't necessary because KillStack is only interesting for OSR exit, and PutStack nodes that are relevant to OSR will already be preceded by a KillStack/MovHint pair.
Comment 1 Filip Pizlo 2015-08-21 14:37:43 PDT
Created attachment 259660 [details]
the patch
Comment 2 Geoffrey Garen 2015-08-21 14:39:25 PDT
Comment on attachment 259660 [details]
the patch

r=me
Comment 3 Filip Pizlo 2015-08-21 14:44:46 PDT
Landed in http://trac.webkit.org/changeset/188776