summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-17 03:48:32 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-17 03:48:32 +0000
commitb86daec2027c615d7a4802215a3c3bd12a252df7 (patch)
tree8858aeddac9f644ecc7fedb335b2ca57c4ea1759 /vm_trace.c
parent61d4df8920714b41ed6954ff801fc469f8af3f26 (diff)
vm_trace: remove rb_postponed_job_t->flags
This field has been taking up space for 5 years and never used. Save 8kb of memory on x86-64 for now. If we ever care about this flag, we'll simply re-add it. * vm_trace.c (rb_postponed_job_struct): remove flags (postponed_job_register): comment out flags assignment [ruby-core:87052] [Misc #14764] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm_trace.c b/vm_trace.c
index 3e4c9797d4..41ac8b75bb 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1518,7 +1518,6 @@ Init_vm_trace(void)
}
typedef struct rb_postponed_job_struct {
- unsigned long flags; /* reserved */
rb_postponed_job_func_t func;
void *data;
} rb_postponed_job_t;
@@ -1555,7 +1554,7 @@ postponed_job_register(rb_execution_context_t *ec, rb_vm_t *vm,
return PJRR_INTERRUPTED;
}
- pjob->flags = flags;
+ /* unused: pjob->flags = flags; */
pjob->func = func;
pjob->data = data;