[Webkit-unassigned] [Bug 69501] New: SpeculativeJIT::isKnownString() is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 22:15:53 PDT 2011


           Summary: SpeculativeJIT::isKnownString() is wrong
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fpizlo at apple.com

It returns true if the child is a GetLocal and the local's prediction is PredictString.  But that's not right, since PredictString just means that the local is predicted to be a string, rather than it's known to be a string.

For some predictions, like array, boolean, and int32, we enforce predictions on local variables when we do a SetLocal.  But we don't do this for strings.  Hence, we can't have the same logic for strings as we have for those types.

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