Optimization #6855
open
Added by Victor Julien 8 months ago.
Updated 7 months ago.
Description
GenericVar and related types use a field "type" which is 8 bits, but it is used to hold the sigmatch type, which is 16 bits. It's not currently causing issues, but needs to be cleaned up.
How come we did not have a compiler warning for this ?..
Philippe Antoine wrote in #note-1:
How come we did not have a compiler warning for this ?..
Looks like GenericVar
type is never set by itself, but setting it in a FlowVar or such and then casting to this common struct...
Also available in: Atom
PDF