ruby-changes:53610
From: kazu <ko1@a...>
Date: Tue, 20 Nov 2018 12:12:34 +0900 (JST)
Subject: [ruby-changes:53610] kazu:r65825 (trunk): mjit.c: fix typos [ci skip]
kazu 2018-11-20 12:03:02 +0900 (Tue, 20 Nov 2018) New Revision: 65825 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65825 Log: mjit.c: fix typos [ci skip] Modified files: trunk/mjit.c Index: mjit.c =================================================================== --- mjit.c (revision 65824) +++ mjit.c (revision 65825) @@ -745,7 +745,7 @@ skip_cleaning_object_files(struct rb_mji https://github.com/ruby/ruby/blob/trunk/mjit.c#L745 /* No mutex for list, assuming MJIT worker does not exist yet since it's immediately after fork. */ list_for_each_safe(&list->head, unit, next, unode) { -#ifndef _MSC_VER /* Actualy mswin does not reach here since it doesn't have fork */ +#ifndef _MSC_VER /* Actually mswin does not reach here since it doesn't have fork */ if (unit->o_file) unit->o_file_inherited_p = TRUE; #endif @@ -763,7 +763,7 @@ skip_cleaning_object_files(struct rb_mji https://github.com/ruby/ruby/blob/trunk/mjit.c#L763 call the JIT-ed code. But unfortunately current MJIT-generated code is process-specific. After the fork, - JIT-ed code created by parent Ruby process cannnot be used in child Ruby process + JIT-ed code created by parent Ruby process cannot be used in child Ruby process because the code could rely on inline cache values (ivar's IC, send's CC) which may vary between processes after fork or embed some process-specific addresses. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/