We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0762775 commit bb578a0Copy full SHA for bb578a0
Python/ceval_macros.h
@@ -264,11 +264,12 @@ GETITEM(PyObject *v, Py_ssize_t i) {
264
#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
265
#endif
266
267
+// NOTE: in the uops version, opcode may be > 255
268
#define DEOPT_IF(COND, INSTNAME) \
269
if ((COND)) { \
270
/* This is only a single jump on release builds! */ \
271
UPDATE_MISS_STATS((INSTNAME)); \
- assert(_PyOpcode_Deopt[opcode] == (INSTNAME)); \
272
+ assert(opcode >= 256 || _PyOpcode_Deopt[opcode] == (INSTNAME)); \
273
GO_TO_INSTRUCTION(INSTNAME); \
274
}
275
0 commit comments