diff options
author | Alan Wu <[email protected]> | 2020-07-22 20:46:24 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2020-07-23 01:17:59 -0400 |
commit | 1d8b689b9efaaa4555bcbbc6538884e94ae5e19b (patch) | |
tree | 7add6e0a604dabc58a23db95fdd64e84bf4b9fe8 | |
parent | caf565f7bf9b279449c893b9e812c466a26e8f4b (diff) |
Remove unused field in rb_iseq_constant_body
This was introduced in 191ce5344ec42c91571f8f47c85be9138262b1c7
and has been unused since beae6cbf0fd8b6619e5212552de98022d4c4d4d4
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3353
-rw-r--r-- | iseq.c | 3 | ||||
-rw-r--r-- | vm_core.h | 2 |
2 files changed, 0 insertions, 5 deletions
@@ -451,14 +451,11 @@ rb_iseq_memsize(const rb_iseq_t *iseq) return size; } -static uintptr_t fresh_iseq_unique_id = 0; /* -- Remove In 3.0 -- */ - struct rb_iseq_constant_body * rb_iseq_constant_body_alloc(void) { struct rb_iseq_constant_body *iseq_body; iseq_body = ZALLOC(struct rb_iseq_constant_body); - iseq_body->iseq_unique_id = fresh_iseq_unique_id++; /* -- Remove In 3.0 -- */ return iseq_body; } @@ -427,8 +427,6 @@ struct rb_iseq_constant_body { long unsigned total_calls; /* number of total calls with `mjit_exec()` */ struct rb_mjit_unit *jit_unit; #endif - - uintptr_t iseq_unique_id; /* -- Remove In 3.0 -- */ }; /* T_IMEMO/iseq */ |