Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit87ac00a

Browse files
committed
fix jit ci
1 parent387c23b commit87ac00a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

‎Python/ceval.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ static void monitor_throw(PyThreadState *tstate,
276276

277277
staticintcheck_args_iterable(PyThreadState*,PyObject*func,PyObject*vararg);
278278
staticintget_exception_handler(PyCodeObject*,int,int*,int*,int*);
279-
staticvoiddtrace_function_entry(_PyInterpreterFrame*);
280-
staticvoiddtrace_function_return(_PyInterpreterFrame*);
281279
static_PyInterpreterFrame*
282280
_PyEvalFramePushAndInit_Ex(PyThreadState*tstate,_PyStackReffunc,
283281
PyObject*locals,Py_ssize_tnargs,PyObject*callargs,PyObject*kwargs,_PyInterpreterFrame*previous);
@@ -819,6 +817,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
819817
DTRACE_FUNCTION_ENTRY();
820818
gotoresume_with_error;
821819
}
820+
822821
/* Local "register" variables.
823822
* These are cached values from the frame and code object. */
824823
_Py_CODEUNIT*next_instr;

‎Python/ceval_macros.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
* the CFG.
4242
*/
4343

44+
#include"pycore_frame.h"
45+
4446
#ifdefWITH_DTRACE
4547
#defineOR_DTRACE_LINE | (PyDTrace_LINE_ENABLED() ? 255 : 0)
4648
#else
@@ -289,6 +291,9 @@ GETITEM(PyObject *v, Py_ssize_t i) {
289291
#defineCONSTS() _PyFrame_GetCode(frame)->co_consts
290292
#defineNAMES() _PyFrame_GetCode(frame)->co_names
291293

294+
staticvoiddtrace_function_entry(_PyInterpreterFrame*);
295+
staticvoiddtrace_function_return(_PyInterpreterFrame*);
296+
292297
#defineDTRACE_FUNCTION_EXIT() \
293298
if (PyDTrace_FUNCTION_RETURN_ENABLED()) { \
294299
dtrace_function_return(frame); \

‎Tools/jit/template.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include"pycore_sliceobject.h"
1919
#include"pycore_descrobject.h"
2020
#include"pycore_stackref.h"
21+
#include"pydtrace.h"
2122

2223
#include"ceval_macros.h"
2324

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp