B3::Opcode can fit in a single byte, shrinking B3Value by 8 bytes
authorrmorisset@apple.com <rmorisset@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Mar 2019 21:36:26 +0000 (21:36 +0000)
committerrmorisset@apple.com <rmorisset@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Mar 2019 21:36:26 +0000 (21:36 +0000)
commit611e77d9d86d0a024ec564b0c29a34e1a2af9295
tree9a43fb9faabb90f9f00bd52bde96abbdab86fdf3
parent4b2ded78834934de756451385a0be6c426aa7610
B3::Opcode can fit in a single byte, shrinking B3Value by 8 bytes
https://bugs.webkit.org/show_bug.cgi?id=196014

Reviewed by Keith Miller.

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 B3::Value, shrinking it by 8 bytes (out of 80).

* b3/B3Opcode.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/b3/B3Opcode.h