Ruby: iseq_inline_constant_cache Struct Reference

Ruby 3.4.7p58 (2025-10-08 revision 7a5688e2a27668e48f8d6ff4af5b2208b98a2f5e)

Data Fields
iseq_inline_constant_cache Struct Reference

## Data Fields
struct iseq_inline_constant_cache_entry * | entry
const ID * | segments
| A null-terminated list of ids, used to represent a constant's path idNULL is used to represent the :: prefix, and 0 is used to donate the end of the list.

## Detailed Description

Definition at line 271 of file vm_core.h.

## Field Documentation

## ◆ entry

struct iseq_inline_constant_cache_entry* iseq_inline_constant_cache::entry

Definition at line 272 of file vm_core.h.

## ◆ segments

const ID* iseq_inline_constant_cache::segments

A null-terminated list of ids, used to represent a constant's path idNULL is used to represent the :: prefix, and 0 is used to donate the end of the list.

For example FOO {rb_intern("FOO"), 0} FOO::BAR {rb_intern("FOO"), rb_intern("BAR"), 0} ::FOO {idNULL, rb_intern("FOO"), 0} ::FOO::BAR {idNULL, rb_intern("FOO"), rb_intern("BAR"), 0}

Definition at line 285 of file vm_core.h.

The documentation for this struct was generated from the following file:

- vm_core.h