Skip to content
  • Aaron Patterson's avatar
    2c8d186c
    Introduce an "Inline IVAR cache" struct · 2c8d186c
    Aaron Patterson authored
    This commit introduces an "inline ivar cache" struct.  The reason we
    need this is so compaction can differentiate from an ivar cache and a
    regular inline cache.  Regular inline caches contain references to
    `VALUE` and ivar caches just contain references to the ivar index.  With
    this new struct we can easily update references for inline caches (but
    not inline var caches as they just contain an int)
    2c8d186c
    Introduce an "Inline IVAR cache" struct
    Aaron Patterson authored
    This commit introduces an "inline ivar cache" struct.  The reason we
    need this is so compaction can differentiate from an ivar cache and a
    regular inline cache.  Regular inline caches contain references to
    `VALUE` and ivar caches just contain references to the ivar index.  With
    this new struct we can easily update references for inline caches (but
    not inline var caches as they just contain an int)
Loading