Age | Commit message (Collapse) | Author |
|
|
|
|
|
Notes:
Merged-By: soutaro <matsumoto@soutaro.com>
|
|
Save and restore `lex_context` as-is wholely, and save in
`k_class` and `k_module` to workaround look-ahead reading.
|
|
|
|
|
|
This fixes the lldb disassembler script so that it doesn't need a live
process when disassembling rb_iseq_t. I also added the PC to the output
so you can tell what the VM is executing when it crashed.
For example:
```
(lldb) rbdisasm ec->cfp->iseq
PC IDX insn_name(operands)
0x56039f0a1720 0000 nop
0x56039f0a1728 0001 getlocal_WC_1( 5 )
0x56039f0a1738 0003 branchunless( 7 )
0x56039f0a1748 0005 getlocal_WC_0( 3 )
0x56039f0a1758 0007 putstring( (VALUE)0x56039f0c7eb8 )
0x56039f0a1768 0009 opt_send_without_block( (struct rb_call_data *)0x56039f09f140 )
0x56039f0a1778 0011 pop
0x56039f0a1780 0012 getglobal( ID: 0x7fd7 )
0x56039f0a1790 0014 branchunless( 7 )
0x56039f0a17a0 0016 getlocal_WC_0( 3 )
0x56039f0a17b0 0018 putstring( (VALUE)0x56039f0c7e90 )
0x56039f0a17c0 0020 opt_send_without_block( (struct rb_call_data *)0x56039f09f150 )
0x56039f0a17d0 0022 pop
0x56039f0a17d8 0023 getlocal_WC_0( 3 )
0x56039f0a17e8 0025 putobject( (VALUE)0x56039f0c7e68 )
0x56039f0a17f8 0027 getlocal_WC_1( 6 )
0x56039f0a1808 0029 dup
0x56039f0a1810 0030 checktype( 5 )
0x56039f0a1820 0032 branchif( 4 )
0x56039f0a1830 0034 dup
0x56039f0a1838 0035 opt_send_without_block( (struct rb_call_data *)0x56039f09f160 )
0x56039f0a1848 0037 tostring
0x56039f0a1850 0038 putobject( (VALUE)0x56039f0c7e40 )
0x56039f0a1860 0040 concatstrings( 3 )
0x56039f0a1870 0042 opt_send_without_block( (struct rb_call_data *)0x56039f09f170 )
0x56039f0a1880 0044 nop
0x56039f0a1888 0045 leave
(lldb) p ec->cfp->pc
(const VALUE *) $146 = 0x000056039f0a1848
```
Here we can see the VM is currently executing `opt_send_without_block`
(because the PC is one ahead of the current instruction)
|
|
|
|
* Enhanced RDoc for String#insert
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
|
|
|
|
|
|
The write barrier wasn't being called for this object, so add the
missing WB. Automatic compaction moved the reference because it didn't
know about the relationship (that's how I found the missing WB).
|
|
This reverts commit c839168b1141db53bedef771d1bc78908b6ac782.
`rb_callable_receiver` does not need to be exposed under include.
|
|
This iterator uses an st_table, but if objects move the references in
the st table won't be updated. This patch just changes the st table to
an identity hash.
Notes:
Merged: https://github.com/ruby/ruby/pull/3634
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3629
|
|
FIX
Notes:
Merged: https://github.com/ruby/ruby/pull/3629
|
|
Ruby specs expected this method to be public
|
|
|
|
|
|
As debug_counter.c has had a global symbol since cdc614cd0a21,
ranlib should no longer complain that it has no symbols.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3631
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3631
|
|
This was a workaround for RUBY_ALIGNOF's glitch, which has already been
fixed. See also https://github.com/ruby/ruby/pull/3570
Notes:
Merged: https://github.com/ruby/ruby/pull/3631
|
|
Because `bool` is already used in the header there is no reason to
hesitate.
Notes:
Merged: https://github.com/ruby/ruby/pull/3631
|
|
Bit readable to me.
Notes:
Merged: https://github.com/ruby/ruby/pull/3631
|
|
This adds more room for assertions.
Notes:
Merged: https://github.com/ruby/ruby/pull/3631
|
|
cf: https://github.com/ruby/ruby/pull/2991/commits/99add258571bf103c6d942bf0e4d510763b73918
Notes:
Merged: https://github.com/ruby/ruby/pull/3631
|
|
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Notes:
Merged: https://github.com/ruby/ruby/pull/3630
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3630
|
|
|
|
On my system, the error was being hidden by the presence of a YARD
rubygems plugin that was providing the require and making things work.
|
|
|
|
Tempfile.open instead
https://github.com/ruby/tempfile/commit/8bac025065
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3625
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3628
|
|
Even if the raw commit log does not end with a newline.
Suggested to use `grep` by znz.
Co-Authored-By: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
|
|
|
|
|
|
|
* sync_default_gems.rb (sync_lib): sync from the same directory as
sync_default_gems.
|
|
DATA_PTR(ractor) can be NULL just after creation.
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3623
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3621
|