File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1209,12 +1209,10 @@ struct InstructionTranslator<Context: TranslatorContext>: InstructionVisitor {
12091209 //
12101210 iseqBuilder. resetLastEmission ( )
12111211 if case . block( root: true ) = toBePopped. kind {
1212- if toBePopped. reachable {
1213- try translateReturn ( )
1214- // TODO: Merge logic with regular block frame
1215- guard valueStack. height == toBePopped. stackHeight else {
1216- throw ValidationError ( " values remaining on stack at end of block " )
1217- }
1212+ try translateReturn ( )
1213+ // TODO: Merge logic with regular block frame
1214+ guard valueStack. height == toBePopped. stackHeight else {
1215+ throw ValidationError ( " values remaining on stack at end of block " )
12181216 }
12191217 try iseqBuilder. pinLabelHere ( toBePopped. continuation)
12201218 return
You can’t perform that action at this time.
0 commit comments