--- src/qml/jsruntime/qv4engine_p.h.orig 2023-03-11 23:23:17.000000000 +0100 +++ src/qml/jsruntime/qv4engine_p.h 2023-07-08 21:48:13.000000000 +0200 @@ -774,7 +774,7 @@ }; #define CHECK_STACK_LIMITS(v4) if ((v4)->checkStackLimits()) return Encode::undefined(); \ - ExecutionEngineCallDepthRecorder _executionEngineCallDepthRecorder(v4); + ExecutionEngineCallDepthRecorder<1> _executionEngineCallDepthRecorder(v4); template struct ExecutionEngineCallDepthRecorder --- src/qml/jsruntime/qv4vme_moth.cpp.orig 2023-03-11 23:23:17.000000000 +0100 +++ src/qml/jsruntime/qv4vme_moth.cpp 2023-07-08 21:59:27.000000000 +0200 @@ -400,7 +400,7 @@ frame->setReturnValueUndefined(); return; } - ExecutionEngineCallDepthRecorder executionEngineCallDepthRecorder(engine); + ExecutionEngineCallDepthRecorder<1> executionEngineCallDepthRecorder(engine); Function *function = frame->v4Function; Q_ASSERT(function->aotFunction);