diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2020-10-21 18:15:43 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:25 -0400 |
| commit | c2cb6a6fd38eea3ce91d3370a62aaf6ba15e410a (patch) | |
| tree | 3f80a115ce4acbd279fd27606ff6695addd1496f /test/excludes/TestThread.rb | |
| parent | d49edada2eeb0e2fa25c2f36c06e9836e9288f56 (diff) | |
MicroJIT: Read pointer to call cache from call data
The call cache changes when the call site becomes polymophic and can
result in the generated code falsely assuming cd->cc->cme is not NULL.
Here is a crasher:
def body(thing)
thing.strip
end
str = ""
10.times { body(str) }
body(0) rescue p 'not found'
body(str)
Diffstat (limited to 'test/excludes/TestThread.rb')
0 files changed, 0 insertions, 0 deletions
