gh-128195: Add _REPLACE_WITH_TRUE to the tier2 optimizer (GH-128203)

Add `_REPLACE_WITH_TRUE` to the tier2 optimizer
This commit is contained in:
Yan Yanchii 2024-12-23 22:17:47 +01:00 committed by GitHub
parent d61542b5ff
commit 30efede33c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -899,6 +899,10 @@ dummy_func(void) {
(void)version;
}
op(_REPLACE_WITH_TRUE, (value -- res)) {
res = sym_new_const(ctx, Py_True);
}
// END BYTECODES //
}