Commit 1b3383e3 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

avoid emitting state.liveness if there are no liveness properties

This was previously emitted as a 0-element array in this scenario. While this
did not enlarge the state struct, it forced its alignment to be >= 8 bytes. By
removing it entirely we can reduce state struct alignment to 1 byte on x86-64
Linux and 2 bytes on other platforms. The overall aim here is to enable the
state allocator to more efficiently allocate states in memory.

Github: related to #158 "pack state struct"
parent 77c8a12a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment