Bug 103715

Summary: Rationalize and clean up DFG handling of scoped accesses
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   
Attachments:
Description Flags
work in progress
none
the patch oliver: review+

Description Filip Pizlo 2012-11-30 00:03:46 PST
We use GetScope with a scope count even in places where the base is known (put_to_base), and the scope count eliminates CSE opportunities for code that accesses variables at different scope depths.  Also the code could just be simplified.
Comment 1 Filip Pizlo 2012-11-30 00:06:56 PST
Created attachment 176907 [details]
work in progress

Still testing it.
Comment 2 Filip Pizlo 2012-11-30 03:28:07 PST
Created attachment 176935 [details]
the patch
Comment 3 Filip Pizlo 2012-11-30 13:57:27 PST
Landed in http://trac.webkit.org/changeset/136276