FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove PRECALL instruction. · python/cpython@8d937ef · GitHub

Repository navigation

Commit 8d937ef

Browse files
committed
Remove PRECALL instruction.
1 parent 58a3d28 commit 8d937ef

12 files changed

Lines changed: 539 additions & 687 deletions

File tree

‎Include/internal/pycore_code.h‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ typedef struct {
8080

8181
#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
8282

83-
typedef struct {
84-
_Py_CODEUNIT counter;
85-
} _PyPrecallCache;
86-
87-
#define INLINE_CACHE_ENTRIES_PRECALL CACHE_ENTRIES(_PyPrecallCache)
88-
8983
typedef struct {
9084
_Py_CODEUNIT counter;
9185
} _PyStoreSubscrCache;
@@ -249,8 +243,6 @@ extern int _Py_Specialize_BinarySubscr(PyObject *sub, PyObject *container, _Py_C
249243
extern int _Py_Specialize_StoreSubscr(PyObject *container, PyObject *sub, _Py_CODEUNIT *instr);
250244
extern int _Py_Specialize_Call(PyObject *callable, _Py_CODEUNIT *instr,
251245
int nargs, PyObject *kwnames);
252-
extern int _Py_Specialize_Precall(PyObject *callable, _Py_CODEUNIT *instr,
253-
int nargs, PyObject *kwnames, int oparg);
254246
extern void _Py_Specialize_BinaryOp(PyObject *lhs, PyObject *rhs, _Py_CODEUNIT *instr,
255247
int oparg, PyObject **locals);
256248
extern void _Py_Specialize_CompareOp(PyObject *lhs, PyObject *rhs,

‎Include/internal/pycore_opcode.h‎

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

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL