Bug 224618

Summary: [JSC] Remove RareCaseProfile
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Yusuke Suzuki 2021-04-15 12:51:43 PDT
RareCareProfile is only used for add, to_this, sub and mod, while we are allocating it for all bytecodes having slowcases in JIT.
And since each RareCaseProfile has 8 bytes, this is too large for this rare case counter.

We should do some of these things.

1. We should consider putting very small counter (uint8_t or less) in Metadata for these opcodes.
2. And/Or we should put this counter in IC's data structure.
Comment 1 Radar WebKit Bug Importer 2021-04-22 12:52:17 PDT
<rdar://problem/77033452>
Comment 2 Yusuke Suzuki 2021-05-19 14:55:19 PDT

*** This bug has been marked as a duplicate of bug 225983 ***