mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update YJIT docs to reference RubyVM::YJIT instead of just YJIT
[ci skip]
This commit is contained in:
parent
635efa594a
commit
8bde66167f
Notes:
git
2021-11-25 10:23:45 +09:00
Merged: https://github.com/ruby/ruby/pull/5171 Merged-By: XrXr
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue