File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -768,6 +768,7 @@ _PyJit_translate_single_bytecode_to_trace(
768768 goto unsupported ;
769769 }
770770
771+ int end_trace_opcode = _DEOPT ;
771772 if (oparg > 0xFFFF ) {
772773 DPRINTF (2 , "Unsupported: oparg too large\n" );
773774 unsupported :
@@ -779,7 +780,7 @@ _PyJit_translate_single_bytecode_to_trace(
779780 }
780781 if (curr -> opcode == _SET_IP ) {
781782 int32_t old_target = (int32_t )uop_get_target (curr );
782- curr -> opcode = _DEOPT ;
783+ curr -> opcode = end_trace_opcode ;
783784 curr -> format = UOP_FORMAT_TARGET ;
784785 curr -> target = old_target ;
785786 }
@@ -1015,6 +1016,7 @@ _PyJit_translate_single_bytecode_to_trace(
10151016 // so there's no point continuing the trace.
10161017 DPRINTF (2 , "Unsupported: frame depth %d >= MAX_ABSTRACT_FRAME_DEPTH\n" ,
10171018 ts_depth -> frame_depth );
1019+ end_trace_opcode = _EXIT_TRACE ;
10181020 goto unsupported ;
10191021 }
10201022 int32_t frame_penalty = compute_frame_penalty (& tstate -> interp -> opt_config );
You can’t perform that action at this time.
0 commit comments