summaryrefslogtreecommitdiff
path: root/io_buffer.c
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-02-24 16:18:53 -0500
committerGitHub <noreply@github.com>2023-02-24 16:18:53 -0500
commit132934b82baad97107fe754d60f9a68a1db7ecda (patch)
tree316410d6f2f7076d930e6618d71768cfc433145a /io_buffer.c
parentfa1eb31fcafc8ffbc8bd8557119e9a30905101b2 (diff)
downloadruby-132934b82baad97107fe754d60f9a68a1db7ecda.tar.gz
YJIT: Generate Block::entry_exit with block entry PC
Previously, when Block::entry_exit is requested from any instruction that is not the first one in the block, we generated the exit with an incorrect PC. We should always be using the PC for the entry of the block for Block::entry_exit. It was a simple typo. The bug was [introduced][1] while we were refactoring to use the current backend. Later, we had a chance to spot this issue while [preparing][2] to enable unused variable warnings, but didn't spot the issue. Fixes [Bug #19463] [1]: 27fcab995e6dde19deb91dc6e291bdb72100af68 [2]: 31461c7e0eab4963ccc8649ea8ebf27979132c0c
Diffstat (limited to 'io_buffer.c')
0 files changed, 0 insertions, 0 deletions