Skip to content

Commit

Permalink
Revert "Have list_node at the top of rb_mjit_unit"
Browse files Browse the repository at this point in the history
This reverts commit 3319ce3.

I still haven't figured out why, but this seems to have increased the
failure rate.
  • Loading branch information
k0kubun committed Dec 8, 2020
1 parent a8f16df commit 73b07c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mjit_worker.c
Expand Up @@ -148,7 +148,6 @@ 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.
Expand All @@ -160,6 +159,7 @@ 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.
Expand Down

0 comments on commit 73b07c4

Please sign in to comment.