[前][次][番号順一覧][スレッド一覧]

ruby-changes:69290

From: Noah <ko1@a...>
Date: Thu, 21 Oct 2021 08:23:47 +0900 (JST)
Subject: [ruby-changes:69290] 7704a6990a (master): Fix typo in comment

https://git.ruby-lang.org/ruby.git/commit/?id=7704a6990a

From 7704a6990aad2b9f979ada573497ddb7e46eefab Mon Sep 17 00:00:00 2001
From: Noah Gibbs <noah.gibbs@s...>
Date: Wed, 22 Sep 2021 17:02:11 +0100
Subject: Fix typo in comment

---
 yjit_codegen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yjit_codegen.c b/yjit_codegen.c
index 9045dffa2b..81fab51bd2 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -707,7 +707,7 @@ yjit_gen_block(block_t *block, rb_execution_context_t *ec) https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L707
         // If we can't compile this instruction
         // exit to the interpreter and stop compiling
         if (status == YJIT_CANT_COMPILE) {
-            // TODO: if the codegen funcion makes changes to ctx and then return YJIT_CANT_COMPILE,
+            // TODO: if the codegen function makes changes to ctx and then return YJIT_CANT_COMPILE,
             // the exit this generates would be wrong. We could save a copy of the entry context
             // and assert that ctx is the same here.
             yjit_gen_exit(jit.pc, ctx, cb);
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]