aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/assemble.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/assemble.c')
-rw-r--r--Python/assemble.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/assemble.c b/Python/assemble.c
index 85c6fe76f45..d6213f89e7b 100644
--- a/Python/assemble.c
+++ b/Python/assemble.c
@@ -339,10 +339,9 @@ static void
write_instr(_Py_CODEUNIT *codestr, instruction *instr, int ilen)
{
int opcode = instr->i_opcode;
- assert(IS_PSEUDO_OPCODE(opcode) == IS_PSEUDO_INSTR(opcode));
assert(!IS_PSEUDO_INSTR(opcode));
int oparg = instr->i_oparg;
- assert(HAS_ARG(opcode) || oparg == 0);
+ assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
int caches = _PyOpcode_Caches[opcode];
switch (ilen - caches) {
case 4: