Skip to content

Commit a51e954

Browse files
committed
Fix JIT build
1 parent 0801f17 commit a51e954

File tree

7 files changed

+13
-18
lines changed

7 files changed

+13
-18
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_uop_metadata.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/executor_cases.c.h

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/jit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
#include "pycore_sliceobject.h"
2424
#include "pycore_tuple.h"
2525
#include "pycore_unicodeobject.h"
26+
#include "pycore_interpolation.h"
27+
#include "pycore_template.h"
2628

2729
#include "pycore_jit.h"
2830

Tools/cases_generator/analyzer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,7 @@ def has_error_without_pop(op: parser.CodeDef) -> bool:
630630
"_PyFrame_StackPush",
631631
"_PyFunction_SetVersion",
632632
"_PyGen_GetGeneratorFromFrame",
633+
"_PyInterpolation_FromStackRefSteal",
633634
"_PyInterpreterState_GET",
634635
"_PyList_AppendTakeRef",
635636
"_PyList_ITEMS",
@@ -648,6 +649,8 @@ def has_error_without_pop(op: parser.CodeDef) -> bool:
648649
"_PyObject_InlineValues",
649650
"_PyObject_IsUniquelyReferenced",
650651
"_PyObject_ManagedDictPointer",
652+
"_PyTemplate_FromValues",
653+
"_PyTemplate_FromListStackRef",
651654
"_PyThreadState_HasStackSpace",
652655
"_PyTuple_FromStackRefStealOnSuccess",
653656
"_PyTuple_ITEMS",

Tools/jit/template.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#include "pycore_stackref.h"
2828
#include "pycore_tuple.h"
2929
#include "pycore_unicodeobject.h"
30+
#include "pycore_interpolation.h"
31+
#include "pycore_template.h"
3032

3133
#include "ceval_macros.h"
3234

0 commit comments

Comments
 (0)