[Webkit-unassigned] [Bug 119117] Fix the wrong refining ArrayMode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 26 01:54:59 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119117





--- Comment #13 from Youngho Yoo <youngho33.yoo at lge.com>  2013-07-26 01:54:48 PST ---
(In reply to comment #5)
> (From update of attachment 207500 [details])
> Yeah, this makes no sense whatsoever.  The base is the array.  Your fix makes it so that every array access becomes a generic access (i.e. function call).  It defeats the whole purpose of having an optimizing compiler.

If it's own type is Array::Unprofiled and index is Int32SpeculatedType, It will crash.
So I changed order of returning ArrayMode(Array::ForceExit) when type() is Array::Unprofiled.
Regardless index is Int32Speculation or not, Array::Unprofiled type has the highest priority.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list