RESOLVED FIXED 165224
TypeInfo::OutOfLineTypeFlags should be 16 bits in size.
https://bugs.webkit.org/show_bug.cgi?id=165224
Summary TypeInfo::OutOfLineTypeFlags should be 16 bits in size.
Mark Lam
Reported 2016-11-30 14:34:51 PST
There's no reason for OutOfLineTypeFlags to be constraint to 8 bits since the space is available to us. Making OutOfLineTypeFlags 16 bits brings TypeInfo up to 32 bits in size from 24 bits.
Attachments
proposed patch. (1.94 KB, patch)
2016-11-30 14:54 PST, Mark Lam
saam: review+
Mark Lam
Comment 1 2016-11-30 14:54:56 PST
Created attachment 295774 [details] proposed patch.
JF Bastien
Comment 2 2016-11-30 15:11:15 PST
Comment on attachment 295774 [details] proposed patch. lgtm
Saam Barati
Comment 3 2016-11-30 15:15:44 PST
Comment on attachment 295774 [details] proposed patch. Do you have a plan for the extra bits?
Mark Lam
Comment 4 2016-11-30 15:18:33 PST
(In reply to comment #3) > Comment on attachment 295774 [details] > proposed patch. > > Do you have a plan for the extra bits? I have plans to use 1 bit (which would use up the last empty bit in the current 8). Since I was looking at this code and already did the legwork to confirm that we have the extra space, I wanted to just make it clear in the code that we do have that space should we need to add more bits in the future.
Mark Lam
Comment 5 2016-11-30 16:12:15 PST
Thanks for the reviews. Landed in r209162: <http://trac.webkit.org/r209162>.
Note You need to log in before you can comment on or make changes to this bug.