Skip to content

Commit c47be17

Browse files
committed
Remove unnecessary cast
1 parent badfdf2 commit c47be17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Python/ceval.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -765,9 +765,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
765765
/* Start instructions */
766766
#if !USE_COMPUTED_GOTOS
767767
dispatch_opcode:
768-
// Cast to an 8-bit value to improve the code generated by MSVC
769-
// (in combination with the EXTRA_CASES macro).
770-
switch ((uint8_t)opcode)
768+
switch (opcode)
771769
#endif
772770
{
773771

0 commit comments

Comments
 (0)