diff options
author | John Hawthorn <john@hawthorn.email> | 2021-06-26 00:06:58 -0700 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:37 -0400 |
commit | c3f264b62cfee09a90fd3f75de9eaa36bc06645d (patch) | |
tree | e5545ca6552227cff24029e4e8167a0865c16a83 /bootstraptest | |
parent | 6998246233e42a05883a7bfc9364bb5918456107 (diff) |
Allow chaining on immediate guard
In jit_guard_known_klass whenever we encounter a new class should
recompile the current instruction.
However, previously once jit_guard_known_klass had guarded for a heap
object it would not recompile for any immediate (special const) objects
arriving afterwards and would take a plain side-exit instead of a chain
guard.
This commit uses jit_chain_guard inside jit_guard_known_klass instead of
the plain side exit, so that we can recompile for any special constants
arriving afterwards.
Diffstat (limited to 'bootstraptest')
0 files changed, 0 insertions, 0 deletions