mirror of
https://github.com/python/cpython.git
synced 2025-09-12 03:37:09 +00:00
Manually override bytecode definition in optimizer, to avoid build error (GH-122316)
This commit is contained in:
parent
c557ae97d6
commit
1ca99ed240
2 changed files with 17 additions and 4 deletions
|
@ -596,6 +596,14 @@ dummy_func(void) {
|
|||
}
|
||||
}
|
||||
|
||||
op(_MAYBE_EXPAND_METHOD, (callable, self_or_null, args[oparg] -- func, maybe_self, args[oparg])) {
|
||||
(void)callable;
|
||||
(void)self_or_null;
|
||||
(void)args;
|
||||
func = sym_new_not_null(ctx);
|
||||
maybe_self = sym_new_not_null(ctx);
|
||||
}
|
||||
|
||||
op(_PY_FRAME_GENERAL, (callable, self_or_null, args[oparg] -- new_frame: _Py_UOpsAbstractFrame *)) {
|
||||
/* The _Py_UOpsAbstractFrame design assumes that we can copy arguments across directly */
|
||||
(void)callable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue