Skip to content

Commit

Permalink
py/bc: Update opcode format table now that MP_BC_NOT opcode is gone.
Browse files Browse the repository at this point in the history
MP_BC_NOT was removed and the "not" operation made a proper unary
operator, and the opcode format table needs to be updated to reflect
this change (but actually the change is only cosmetic).
  • Loading branch information
dpgeorge committed Jan 28, 2016
1 parent ac37e0f commit 7b05b1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/bc.c
Expand Up @@ -304,7 +304,7 @@ STATIC const byte opcode_format_table[64] = {
OC4(O, O, U, U), // 0x38-0x3b
OC4(U, O, B, O), // 0x3c-0x3f
OC4(O, B, B, O), // 0x40-0x43
OC4(B, B, O, B), // 0x44-0x47
OC4(B, B, O, U), // 0x44-0x47
OC4(U, U, U, U), // 0x48-0x4b
OC4(U, U, U, U), // 0x4c-0x4f
OC4(V, V, V, V), // 0x50-0x53
Expand Down Expand Up @@ -355,7 +355,7 @@ STATIC const byte opcode_format_table[64] = {

OC4(B, B, B, B), // 0xf0-0xf3
OC4(B, B, B, B), // 0xf4-0xf7
OC4(B, B, U, U), // 0xf8-0xfb
OC4(B, B, B, U), // 0xf8-0xfb
OC4(U, U, U, U), // 0xfc-0xff
};
#undef OC4
Expand Down

0 comments on commit 7b05b1b

Please sign in to comment.