mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typo in yjit.c comments [ci skip]
This commit is contained in:
parent
7f9eb888a3
commit
28e27ee76e
Notes:
git
2022-06-11 21:26:26 +09:00
Merged: https://github.com/ruby/ruby/pull/6007 Merged-By: nobu <nobu@ruby-lang.org>
1 changed files with 2 additions and 2 deletions
4
yjit.c
4
yjit.c
|
@ -120,7 +120,7 @@ rb_yjit_add_frame(VALUE hash, VALUE frame)
|
|||
}
|
||||
}
|
||||
|
||||
// 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
|
|||
|
||||
// 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]));
|
||||
|
|
Loading…
Add table
Reference in a new issue