File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -620,15 +620,17 @@ _PyJIT_translate_single_bytecode_to_trace(
620620 if (jump_taken ||
621621 opcode == WITH_EXCEPT_START || opcode == RERAISE || opcode == CLEANUP_THROW || opcode == PUSH_EXC_INFO ) {
622622 unsupported :
623- // Rewind to previous instruction and replace with _EXIT_TRACE.
624- _PyUOpInstruction * curr = & trace [trace_length - 1 ];
625- while (curr -> opcode != _SET_IP && trace_length > 1 ) {
626- trace_length -- ;
627- curr = & trace [trace_length - 1 ];
628- }
629- assert (curr -> opcode == _SET_IP || trace_length == 1 );
630- curr -> opcode = _EXIT_TRACE ;
631- goto done ;
623+ {
624+ // Rewind to previous instruction and replace with _EXIT_TRACE.
625+ _PyUOpInstruction * curr = & trace [trace_length - 1 ];
626+ while (curr -> opcode != _SET_IP && trace_length > 1 ) {
627+ trace_length -- ;
628+ curr = & trace [trace_length - 1 ];
629+ }
630+ assert (curr -> opcode == _SET_IP || trace_length == 1 );
631+ curr -> opcode = _EXIT_TRACE ;
632+ goto done ;
633+ }
632634 }
633635 RESERVE_RAW (expansion -> nuops + needs_guard_ip + 3 , "uop and various checks" );
634636
You can’t perform that action at this time.
0 commit comments