mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +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
|
@ -2755,7 +2755,7 @@ dummy_func(
|
|||
GOTO_ERROR(error);
|
||||
}
|
||||
DECREF_INPUTS();
|
||||
res = _PyObject_CallNoArgsTstate(tstate, enter);
|
||||
res = PyObject_CallNoArgs(enter);
|
||||
Py_DECREF(enter);
|
||||
if (res == NULL) {
|
||||
Py_DECREF(exit);
|
||||
|
@ -2790,7 +2790,7 @@ dummy_func(
|
|||
GOTO_ERROR(error);
|
||||
}
|
||||
DECREF_INPUTS();
|
||||
res = _PyObject_CallNoArgsTstate(tstate, enter);
|
||||
res = PyObject_CallNoArgs(enter);
|
||||
Py_DECREF(enter);
|
||||
if (res == NULL) {
|
||||
Py_DECREF(exit);
|
||||
|
@ -3822,9 +3822,9 @@ dummy_func(
|
|||
}
|
||||
|
||||
inst(CONVERT_VALUE, (value -- result)) {
|
||||
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);
|
||||
ERROR_IF(result == NULL, error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue