update YJIT docs to reference RubyVM::YJIT instead of just YJIT

[ci skip]
This commit is contained in:
Adam Hess 2021-11-24 17:23:22 -08:00 committed by GitHub
parent 635efa594a
commit 8bde66167f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2021-11-25 10:23:45 +09:00
Merged: https://github.com/ruby/ruby/pull/5171

Merged-By: XrXr

View File

@ -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