Bug 124169

Summary: Remove ConstantFoldingPhase's weirdo compile-time optimization
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 124138    
Attachments:
Description Flags
the patch mhahnenberg: review+

Description Filip Pizlo 2013-11-11 14:55:27 PST
It's not needed anymore now that the compiler is concurrent - we're just not sensitive to such compile-time hacks anymore.
Comment 1 Filip Pizlo 2013-11-11 14:56:59 PST
This blocks https://bugs.webkit.org/show_bug.cgi?id=124138 because I'm pretty sure the fix to that requires making ConstantFoldingPhase do some special things for folded GetLocal's.  Currently it's already doing *really insane* special things for folded GetLocal's, and I don't want to put special things on top of special things.
Comment 2 Filip Pizlo 2013-11-11 14:57:51 PST
Created attachment 216615 [details]
the patch
Comment 3 Mark Hahnenberg 2013-11-11 14:58:44 PST
Comment on attachment 216615 [details]
the patch

r=me assuming benchmarks look good.
Comment 4 Filip Pizlo 2013-11-11 15:00:02 PST
Landed in http://trac.webkit.org/changeset/159074