summaryrefslogtreecommitdiff
path: root/timev.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-05-24 14:23:45 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2021-05-26 14:21:54 -0700
commit8fdb15fdd3ed2636d28d60153a7520256d72594e (patch)
treea7e9ea9245d690c953f12c26fe56b20b22d299b7 /timev.rb
parentaf43198738bf45d55d91d7f48b197f94dc526967 (diff)
Fill out switch statement in push_mark_stack
When objects are popped from the mark stack, we check that the object is the right type (otherwise an rb_bug happens). The problem is that when we pop a bad object from the stack, we have no idea what pushed the bad object on the stack. This change makes an error happen when a bad object is pushed on the mark stack, that way we can track down the source of the bug.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4531
Diffstat (limited to 'timev.rb')
0 files changed, 0 insertions, 0 deletions