[Webkit-unassigned] [Bug 237836] New: [JSC] Add a resolve_and_get_from_scope bytecode opcode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 10:03:40 PDT 2022


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

            Bug ID: 237836
           Summary: [JSC] Add a resolve_and_get_from_scope bytecode opcode
           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: rmorisset at apple.com

resolve_scope followed by get_from_scope is exceedingly common, it is visible both in manual checks of JS2, and was also found by Keith when he more rigorously looked at the most common pairs of opcodes (it was > 3% of all bytecode if I remember correctly).
Now that we've got checkpoints in bytecode ops it should be quite easy to add a shared opcode.

We've found in the past that optimizing bytecode size matters a lot, both to Ramification and to real-world websites.
As a bonus, this change should also reduce the interpretation overhead, making the LLint faster.

-- 
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/20220314/a19f4ca5/attachment.htm>


More information about the webkit-unassigned mailing list