1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "Revert "Have list_node at the top of rb_mjit_unit""

This reverts commit 73b07c437e.

This was, of course, innocent.
This commit is contained in:
Takashi Kokubun 2020-12-10 00:21:33 -08:00
parent 16c765990c
commit 12a1a25181
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -148,6 +148,7 @@ typedef intptr_t pid_t;
// The unit structure that holds metadata of ISeq for MJIT.
struct rb_mjit_unit {
struct list_node unode;
// Unique order number of unit.
int id;
// Dlopen handle of the loaded object file.
@ -159,7 +160,6 @@ struct rb_mjit_unit {
#endif
// Only used by unload_units. Flag to check this unit is currently on stack or not.
bool used_code_p;
struct list_node unode;
// mjit_compile's optimization switches
struct rb_mjit_compile_info compile_info;
// captured CC values, they should be marked with iseq.