mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
GH-93897: Store frame size in code object and de-opt if insufficient space on thread frame stack. (GH-93908)
This commit is contained in:
parent
774ef28814
commit
45e62a2bc1
8 changed files with 50 additions and 67 deletions
|
@ -2168,7 +2168,7 @@ push_chunk(PyThreadState *tstate, int size)
|
|||
}
|
||||
|
||||
_PyInterpreterFrame *
|
||||
_PyThreadState_BumpFramePointerSlow(PyThreadState *tstate, size_t size)
|
||||
_PyThreadState_PushFrame(PyThreadState *tstate, size_t size)
|
||||
{
|
||||
assert(size < INT_MAX/sizeof(PyObject *));
|
||||
PyObject **base = tstate->datastack_top;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue