[Webkit-unassigned] [Bug 190929] New: BytecodeGenerator should not force op_get_by_val to be wide within IndexedForInContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 25 16:23:06 PDT 2018


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

            Bug ID: 190929
           Summary: BytecodeGenerator should not force op_get_by_val to be
                    wide within IndexedForInContext
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tzagallo at apple.com

As part of https://bugs.webkit.org/show_bug.cgi?id=187373, when emitting an op_get_by_bal within an IndexedForInContext we force it to be emitted as a wide instruction since we might need to patch the instruction later and we want to guarantee that the alternative value fits in the instruction stream. However, we know the only value that we might use to patch the instruction ahead of time, so we could do do a Fits::check to see if it would fit in a narrow instruction and only force it to be wide otherwise.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181025/57209e04/attachment.html>


More information about the webkit-unassigned mailing list