|
Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)
|
the getlocal and setlocal instructions require two parameters. More...
#include <prism_compile.h>
Data Fields | |
| int | index |
| int | level |
the getlocal and setlocal instructions require two parameters.
level is how many hops up the iseq stack one needs to go before finding the correct local table. The index is the index in that table where our variable is.
Because these are always calculated and used together, we'll bind them together as a tuple.
Definition at line 12 of file prism_compile.h.
| int pm_local_index_struct::index |
Definition at line 13 of file prism_compile.h.
| int pm_local_index_struct::level |
Definition at line 13 of file prism_compile.h.