diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-07-02 23:32:09 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-07-02 23:35:52 +0900 |
commit | ea30dd702512ff9df34fe8c71c825f8f901bf5b1 (patch) | |
tree | fefa0f795f3c8eaa06b00de7c6693f89da27d9c0 /test/logger | |
parent | 181b966e7553ac53d034266a7cdc18664d080814 (diff) | |
download | ruby-ea30dd702512ff9df34fe8c71c825f8f901bf5b1.tar.gz |
Avoid corrupting VM stack on inlined setlocal
setlocal relies on cfp->ep, and frame-omitted method inlining introduced
in Ruby 2.7 kept it wrong.
This change might slow down frame-omitted method inlining for cfp->ep
manipulation, and it obviously complicates the implementaion more. By
introducing an optimization that changes Ruby's local variable to C
local variable, we could optimize it and simplify the cfp->ep
manipulation later.
[Bug #15971]
Diffstat (limited to 'test/logger')
0 files changed, 0 insertions, 0 deletions