Bug 196014

Summary: B3::Opcode can fit in a single byte, shrinking B3Value by 8 bytes
Product: WebKit Reporter: Robin Morisset <rmorisset>
Component: JavaScriptCoreAssignee: Robin Morisset <rmorisset>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Robin Morisset 2019-03-20 10:41:39 PDT
B3::Opcode has less than one hundred cases, so it can easily fit in one byte (from two currently)
This shrinks B3::Kind from 4 bytes to 2 (by removing the byte of padding at the end).
This in turns eliminate padding from B3Value, shrinking it by 8 bytes (out of 80).
Comment 1 Robin Morisset 2019-03-20 10:43:36 PDT
Created attachment 365356 [details]
Patch
Comment 2 Keith Miller 2019-03-20 10:49:17 PDT
Comment on attachment 365356 [details]
Patch

r=me.
Comment 3 WebKit Commit Bot 2019-03-21 14:36:32 PDT
Comment on attachment 365356 [details]
Patch

Clearing flags on attachment: 365356

Committed r243330: <https://trac.webkit.org/changeset/243330>
Comment 4 WebKit Commit Bot 2019-03-21 14:36:33 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-03-21 14:37:26 PDT
<rdar://problem/49124622>