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

Robin Morisset
Reported 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).
Attachments
Patch (1.50 KB, patch)
2019-03-20 10:43 PDT, Robin Morisset
no flags
Robin Morisset
Comment 1 2019-03-20 10:43:36 PDT
Keith Miller
Comment 2 2019-03-20 10:49:17 PDT
Comment on attachment 365356 [details] Patch r=me.
WebKit Commit Bot
Comment 3 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>
WebKit Commit Bot
Comment 4 2019-03-21 14:36:33 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2019-03-21 14:37:26 PDT
Note You need to log in before you can comment on or make changes to this bug.