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

ruby-changes:62176

From: Nobuyoshi <ko1@a...>
Date: Fri, 10 Jul 2020 12:33:04 +0900 (JST)
Subject: [ruby-changes:62176] 234f8eee33 (master): Fixed typos

https://git.ruby-lang.org/ruby.git/commit/?id=234f8eee33

From 234f8eee33459e67f9d9c42c2a7dcdfe8711bcb7 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 10 Jul 2020 12:32:48 +0900
Subject: Fixed typos


diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 4b65424..5eda4b0 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -302,7 +302,7 @@ vm_push_frame_debug_counter_inc( https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L302
         const bool curr = VM_FRAME_RUBYFRAME_P(reg_cfp);
         const bool prev = VM_FRAME_RUBYFRAME_P(prev_cfp);
         if (prev) {
-            if (crr) {
+            if (curr) {
                 RB_DEBUG_COUNTER_INC(frame_R2R);
             }
             else {
@@ -310,7 +310,7 @@ vm_push_frame_debug_counter_inc( https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L310
             }
         }
         else {
-            if (crr) {
+            if (curr) {
                 RB_DEBUG_COUNTER_INC(frame_C2R);
             }
             else {
-- 
cgit v0.10.2


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

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