mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
GH-115802: JIT "small" code for Windows (GH-115964)
This commit is contained in:
parent
45d8871dc4
commit
f0df35eeca
26 changed files with 129 additions and 96 deletions
8
Python/generated_cases.c.h
generated
8
Python/generated_cases.c.h
generated
|
@ -40,7 +40,7 @@
|
|||
GOTO_ERROR(error);
|
||||
}
|
||||
Py_DECREF(mgr);
|
||||
res = _PyObject_CallNoArgsTstate(tstate, enter);
|
||||
res = PyObject_CallNoArgs(enter);
|
||||
Py_DECREF(enter);
|
||||
if (res == NULL) {
|
||||
Py_DECREF(exit);
|
||||
|
@ -86,7 +86,7 @@
|
|||
GOTO_ERROR(error);
|
||||
}
|
||||
Py_DECREF(mgr);
|
||||
res = _PyObject_CallNoArgsTstate(tstate, enter);
|
||||
res = PyObject_CallNoArgs(enter);
|
||||
Py_DECREF(enter);
|
||||
if (res == NULL) {
|
||||
Py_DECREF(exit);
|
||||
|
@ -2140,9 +2140,9 @@
|
|||
PyObject *value;
|
||||
PyObject *result;
|
||||
value = stack_pointer[-1];
|
||||
convertion_func_ptr conv_fn;
|
||||
conversion_func conv_fn;
|
||||
assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
|
||||
conv_fn = CONVERSION_FUNCTIONS[oparg];
|
||||
conv_fn = _PyEval_ConversionFuncs[oparg];
|
||||
result = conv_fn(value);
|
||||
Py_DECREF(value);
|
||||
if (result == NULL) goto pop_1_error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue