Bug 95717

Summary: DFG GetByVal for JSArrays shouldn't OSR exit every time that the index is out of bound
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Severity: Normal CC: barraclough, ggaren, mhahnenberg, msaboff, oliver, thorton, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 95788    
Bug Blocks:    
Description Flags
the patch oliver: review+

Description Filip Pizlo 2012-09-04 00:48:28 PDT
If profiling tells us that the access may be out of bounds, then we shouldn't speculate that it's in bounds.
Comment 1 Filip Pizlo 2012-09-04 00:54:32 PDT
Created attachment 161981 [details]
the patch
Comment 2 Filip Pizlo 2012-09-04 14:17:17 PDT
Landed in http://trac.webkit.org/changeset/127503
Comment 3 Tim Horton 2012-09-04 15:29:41 PDT
This seems to have caused some failures in fast/js tests; see http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r127507%20(567)/results.html

Per pizlo, I'm going to roll it out.
Comment 4 WebKit Review Bot 2012-09-04 15:29:49 PDT
Re-opened since this is blocked by 95788
Comment 5 Filip Pizlo 2012-09-04 18:35:46 PDT
Relanded with fixes in http://trac.webkit.org/changeset/127536