Issue #11254 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into `ruby_2_2` at r51129.

----------------------------------------
Bug #11254: [BUG] no corresponding cfp
https://bugs.ruby-lang.org/issues/11254#change-53263

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: 
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE
----------------------------------------
2.1以降、以下のコードが[BUG] rb_vm_search_cf_from_ep: no corresponding cfpになります。

~~~ruby
empty = Object.new
class << empty
  attr_reader :block
  def each(&block)
    @block = block
    self
  end
end
empty.first
empty.block.call
~~~



-- 
https://bugs.ruby-lang.org/