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

ruby-changes:72142

From: Takayoshi <ko1@a...>
Date: Sat, 11 Jun 2022 21:26:19 +0900 (JST)
Subject: [ruby-changes:72142] 28e27ee76e (master): Fix typo in yjit.c comments [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=28e27ee76e

From 28e27ee76eb7aa79cc2b6c7fe6ce6cf3acc32dc7 Mon Sep 17 00:00:00 2001
From: Takayoshi Nishida <takayoshi.nishida@g...>
Date: Sat, 11 Jun 2022 21:26:03 +0900
Subject: Fix typo in yjit.c comments [ci skip]

---
 yjit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/yjit.c b/yjit.c
index 5dde402f41..03930706ba 100644
--- a/yjit.c
+++ b/yjit.c
@@ -120,7 +120,7 @@ rb_yjit_add_frame(VALUE hash, VALUE frame) https://github.com/ruby/ruby/blob/trunk/yjit.c#L120
     }
 }
 
-// Parses the YjitExtiLocations raw_samples and line_samples collected by
+// Parses the YjitExitLocations raw_samples and line_samples collected by
 // rb_yjit_record_exit_stack and turns them into 3 hashes (raw, lines, and frames) to
 // be used by RubyVM::YJIT.exit_locations. yjit_raw_samples represents the raw frames information
 // (without name, file, and line), and yjit_line_samples represents the line information
@@ -146,7 +146,7 @@ rb_yjit_exit_locations_dict(VALUE *yjit_raw_samples, int *yjit_line_samples, int https://github.com/ruby/ruby/blob/trunk/yjit.c#L146
 
         // Loop through the length of samples_len and add data to the
         // frames hash. Also push the current value onto the raw_samples
-        // and line_samples arrary respectively.
+        // and line_samples array respectively.
         for (int o = 0; o < num; o++) {
             rb_yjit_add_frame(frames, yjit_raw_samples[idx]);
             rb_ary_push(raw_samples, SIZET2NUM(yjit_raw_samples[idx]));
-- 
cgit v1.2.1


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

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