mirror of
https://github.com/python/cpython.git
synced 2026-01-20 06:10:27 +00:00
gh-134584: JIT: Remove redundant refcount for _BINARY_OP_SUBSCR_DICT (GH-143724)
This commit is contained in:
parent
42f7c2dfba
commit
054a565c64
9 changed files with 83 additions and 44 deletions
|
|
@ -380,6 +380,12 @@ dummy_func(void) {
|
|||
ss = sub_st;
|
||||
}
|
||||
|
||||
op(_BINARY_OP_SUBSCR_DICT, (dict_st, sub_st -- res, ds, ss)) {
|
||||
res = sym_new_not_null(ctx);
|
||||
ds = dict_st;
|
||||
ss = sub_st;
|
||||
}
|
||||
|
||||
op(_TO_BOOL, (value -- res)) {
|
||||
int already_bool = optimize_to_bool(this_instr, ctx, value, &res, false);
|
||||
if (!already_bool) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue