Skip to content

Commit e4ee765

Browse files
committed
Allow using 'kwnames' -- this adds 14 new opcodes
Not all of these are useful, but I think they all work. It leaves another 14 CALL specializations that need to be split (or need gh-106603, allowing oparg *and* one cache entry per uop).
1 parent 2f3ee02 commit e4ee765

File tree

5 files changed

+489
-5
lines changed

5 files changed

+489
-5
lines changed

Include/internal/pycore_opcode_metadata.h

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/ceval.c

+2
Original file line numberDiff line numberDiff line change
@@ -2746,6 +2746,8 @@ _PyUopExecute(_PyExecutorObject *executor, _PyInterpreterFrame *frame, PyObject
27462746
int opcode;
27472747
uint64_t operand;
27482748
int oparg;
2749+
PyObject *kwnames = NULL; // Borrowed reference. Reset by CALL instructions.
2750+
27492751
for (;;) {
27502752
opcode = self->trace[pc].opcode;
27512753
operand = self->trace[pc].operand;

0 commit comments

Comments
 (0)