summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 03:03:02 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 03:03:02 +0000
commit1cf0af636c7343d5764ca70cb23a05761df4457b (patch)
treec7efcabceeefbdde6f227c909cbf9b61718701f3
parentaa515c8d8c5fa36712d1e3985457179b32fd36c2 (diff)
mjit.c: fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--mjit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mjit.c b/mjit.c
index 1578c96..91360e8 100644
--- a/mjit.c
+++ b/mjit.c
@@ -745,7 +745,7 @@ skip_cleaning_object_files(struct rb_mjit_unit_list *list)
/* 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_mjit_unit_list *list)
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.