diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-19 16:03:47 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-19 16:03:47 +1200 |
commit | 547f574b639cd8586568ebb8570c51faf102c313 (patch) | |
tree | c5180eea5eacf3c4e3ee340cf6e865b1a5cc9b92 /vm.c | |
parent | e14f5762c532241706ad5bd8f81b520c46d97654 (diff) | |
download | bundler-547f574b639cd8586568ebb8570c51faf102c313.tar.gz |
In some situations, `vm_stack` can be NULL, but `cfp` is valid.
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -2463,8 +2463,6 @@ rb_execution_context_update(const rb_execution_context_t *ec) cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(cfp); } - } else { - VM_ASSERT(!ec->cfp); } } @@ -2497,8 +2495,6 @@ rb_execution_context_mark(const rb_execution_context_t *ec) cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(cfp); } - } else { - VM_ASSERT(!ec->cfp); } /* mark machine stack */ |