@@ -266,12 +266,6 @@ pub enum Instruction {
266266 BuildConstKeyMap {
267267 size : Arg < u32 > ,
268268 } = 215 , // Placeholder
269- Break {
270- target : Arg < Label > ,
271- } = 216 ,
272- Continue {
273- target : Arg < Label > ,
274- } = 217 ,
275269 JumpIfNotExcMatch ( Arg < Label > ) = 220 ,
276270 SetExcInfo = 223 ,
277271 // CPython 3.14 RESUME (128)
@@ -424,12 +418,6 @@ impl TryFrom<u8> for Instruction {
424418 u8:: from ( Self :: BuildConstKeyMap {
425419 size : Arg :: marker ( ) ,
426420 } ) ,
427- u8:: from ( Self :: Break {
428- target : Arg :: marker ( ) ,
429- } ) ,
430- u8:: from ( Self :: Continue {
431- target : Arg :: marker ( ) ,
432- } ) ,
433421 u8:: from ( Self :: JumpIfNotExcMatch ( Arg :: marker ( ) ) ) ,
434422 u8:: from ( Self :: SetExcInfo ) ,
435423 ] ;
@@ -459,8 +447,6 @@ impl InstructionMetadata for Instruction {
459447 | Self :: PopJumpIfTrue { target : l }
460448 | Self :: PopJumpIfFalse { target : l }
461449 | Self :: ForIter { target : l }
462- | Self :: Break { target : l }
463- | Self :: Continue { target : l }
464450 | Self :: Send { target : l } => Some ( * l) ,
465451 _ => None ,
466452 }
@@ -472,8 +458,6 @@ impl InstructionMetadata for Instruction {
472458 Self :: JumpForward { .. }
473459 | Self :: JumpBackward { .. }
474460 | Self :: JumpBackwardNoInterrupt { .. }
475- | Self :: Continue { .. }
476- | Self :: Break { .. }
477461 | Self :: ReturnValue
478462 | Self :: RaiseVarargs { .. }
479463 | Self :: Reraise { .. }
@@ -523,8 +507,6 @@ impl InstructionMetadata for Instruction {
523507 Self :: GetLen => 1 ,
524508 Self :: CallIntrinsic1 { .. } => 0 , // Takes 1, pushes 1
525509 Self :: CallIntrinsic2 { .. } => -1 , // Takes 2, pushes 1
526- Self :: Continue { .. } => 0 ,
527- Self :: Break { .. } => 0 ,
528510 Self :: PopJumpIfTrue { .. } => -1 ,
529511 Self :: PopJumpIfFalse { .. } => -1 ,
530512 Self :: MakeFunction => {
@@ -832,7 +814,6 @@ impl InstructionMetadata for Instruction {
832814 Self :: BeforeWith => w ! ( BEFORE_WITH ) ,
833815 Self :: BinaryOp { op } => write ! ( f, "{:pad$}({})" , "BINARY_OP" , op. get( arg) ) ,
834816 Self :: BinarySubscr => w ! ( BINARY_SUBSCR ) ,
835- Self :: Break { target } => w ! ( BREAK , target) ,
836817 Self :: BuildList { size } => w ! ( BUILD_LIST , size) ,
837818 Self :: BuildMap { size } => w ! ( BUILD_MAP , size) ,
838819 Self :: BuildSet { size } => w ! ( BUILD_SET , size) ,
@@ -849,7 +830,6 @@ impl InstructionMetadata for Instruction {
849830 Self :: CleanupThrow => w ! ( CLEANUP_THROW ) ,
850831 Self :: CompareOp { op } => w ! ( COMPARE_OP , ?op) ,
851832 Self :: ContainsOp ( inv) => w ! ( CONTAINS_OP , ?inv) ,
852- Self :: Continue { target } => w ! ( CONTINUE , target) ,
853833 Self :: ConvertValue { oparg } => write ! ( f, "{:pad$}{}" , "CONVERT_VALUE" , oparg. get( arg) ) ,
854834 Self :: Copy { index } => w ! ( COPY , index) ,
855835 Self :: DeleteAttr { idx } => w ! ( DELETE_ATTR , name = idx) ,
0 commit comments