diff options
author | Adam Hess <HParker@github.com> | 2021-11-24 17:23:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 20:23:22 -0500 |
commit | 8bde66167fb310b8b4297821e15a9adfa3cb9dd4 (patch) | |
tree | bc21c31d6e191e6ecf9004fac3b52c3b2a5346b5 /doc | |
parent | 635efa594a08f0f1a80d9a2b3cd663368b777c38 (diff) |
update YJIT docs to reference RubyVM::YJIT instead of just YJIT
[ci skip]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5171
Merged-By: XrXr
Diffstat (limited to 'doc')
-rw-r--r-- | doc/yjit/yjit.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md index 0da6c15911..a56aec652a 100644 --- a/doc/yjit/yjit.md +++ b/doc/yjit/yjit.md @@ -121,7 +121,7 @@ You can dump statistics about compilation and execution by running YJIT with the ./miniruby --yjit-stats myscript.rb ``` -The machine code generated for a given method can be printed by adding `puts YJIT.disasm(method(:method_name))` to a Ruby script. Note that no code will be generated if the method is not compiled. +The machine code generated for a given method can be printed by adding `puts RubyVM::YJIT.disasm(method(:method_name))` to a Ruby script. Note that no code will be generated if the method is not compiled. ### Command-Line Options |