mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mjit.c: clarify the intention of setting 0
which was originally NULL before r62221 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
51f948727d
commit
4aa952f678
1 changed files with 1 additions and 1 deletions
2
mjit.c
2
mjit.c
|
@ -539,7 +539,7 @@ static void
|
|||
free_unit(struct rb_mjit_unit *unit)
|
||||
{
|
||||
if (unit->iseq) /* ISeq is not GCed */
|
||||
unit->iseq->body->jit_func = 0;
|
||||
unit->iseq->body->jit_func = (mjit_func_t)NOT_ADDED_JIT_ISEQ_FUNC;
|
||||
if (unit->handle) /* handle is NULL if it's in queue */
|
||||
dlclose(unit->handle);
|
||||
clean_so_file(unit);
|
||||
|
|
Loading…
Add table
Reference in a new issue