summaryrefslogtreecommitdiff
path: root/mjit_worker.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-12-10 00:21:33 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-12-10 00:21:33 -0800
commit12a1a2518161bda1d893920f70e936c82925e758 (patch)
tree9d9ab2e90bb354684e2d608793588d018472e849 /mjit_worker.c
parent16c765990ceaf5fb1efaeba2850083cfec7c137e (diff)
Revert "Revert "Have list_node at the top of rb_mjit_unit""
This reverts commit 73b07c437e24711c23dd2dd01d3ffc5f1012e046. This was, of course, innocent.
Diffstat (limited to 'mjit_worker.c')
-rw-r--r--mjit_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_worker.c b/mjit_worker.c
index 377fd41..d78f93a 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -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.