Align call-init frame flow and spec cache atomic ordering

This commit is contained in:
Jeong, YunWon committed 2026-03-20 22:47:55 +09:00
1 parent e19335e8f2
commit 9df4787aed
1 file changed
+2 -3
+2 -3
View File
@@ -4784,9 +4784,8 @@ impl ExecutingFrame<'_> {
) {
return self.execute_call_vectorcall(nargs, vm);
}
// CPython creates `_Py_InitCleanup` + `__init__` frames here.
// Keep the guard conservative and deopt when the effective
// recursion budget for those two frames is not available.
// Two frames are created: `_Py_InitCleanup` + `__init__`.
// Guard recursion limit accordingly and fall back.
if self.specialization_call_recursion_guard_with_extra_frames(vm, 1) {
return self.execute_call_vectorcall(nargs, vm);
}