Bug 237836

Summary: [JSC] Add a resolve_and_get_from_scope bytecode opcode
Product: WebKit Reporter: Robin Morisset <rmorisset>
Component: JavaScriptCoreAssignee: Yijia Huang <yijia_huang>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Robin Morisset
Reported 2022-03-14 10:03:40 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-21 10:38:50 PDT
Yijia Huang
Comment 2 2022-06-27 09:26:47 PDT
Note You need to log in before you can comment on or make changes to this bug.