Bug 220254

Summary: We should have cost function for bytecode for inlining
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Tadeu Zagallo <tzagallo>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 220204    
Attachments:
Description Flags
bluenoise scripts set none

Description Yusuke Suzuki 2021-01-04 12:52:11 PST
...
Comment 1 Yusuke Suzuki 2021-01-04 13:07:53 PST
1. uniform cost funciton is not good
2. inlining scale based on loop
3. which part is executed and discard from inlining cost
4. escape analysis to analyze profitable or not for inlining.
Comment 2 Radar WebKit Bug Importer 2021-01-04 13:52:05 PST
<rdar://problem/72796832>
Comment 3 Yusuke Suzuki 2021-01-08 14:57:55 PST
Created attachment 417305 [details]
bluenoise scripts set

Attaching bluenoise.zip. Run via jsc -m bluenose.mjs
Comment 4 Brent Fulgham 2022-02-12 19:47:30 PST
*** Bug 220204 has been marked as a duplicate of this bug. ***