@@ -79,7 +79,7 @@ impl ByteCompiler<'_, '_> {
7979 }
8080 }
8181
82- self . emit_opcode ( Opcode :: LoopContinue ) ;
82+ self . emit_opcode ( Opcode :: IncrementLoopIteration ) ;
8383
8484 if let Some ( final_expr) = for_loop. final_expr ( ) {
8585 self . compile_expr ( final_expr, false ) ;
@@ -154,7 +154,7 @@ impl ByteCompiler<'_, '_> {
154154
155155 let start_address = self . next_opcode_location ( ) ;
156156 self . push_loop_control_info_for_of_in_loop ( label, start_address, use_expr) ;
157- self . emit_opcode ( Opcode :: LoopContinue ) ;
157+ self . emit_opcode ( Opcode :: IncrementLoopIteration ) ;
158158
159159 self . emit_opcode ( Opcode :: IteratorNext ) ;
160160 self . emit_opcode ( Opcode :: IteratorDone ) ;
@@ -277,7 +277,7 @@ impl ByteCompiler<'_, '_> {
277277 } else {
278278 self . push_loop_control_info_for_of_in_loop ( label, start_address, use_expr) ;
279279 }
280- self . emit_opcode ( Opcode :: LoopContinue ) ;
280+ self . emit_opcode ( Opcode :: IncrementLoopIteration ) ;
281281
282282 self . emit_opcode ( Opcode :: IteratorNext ) ;
283283 if for_of_loop. r#await ( ) {
@@ -409,7 +409,7 @@ impl ByteCompiler<'_, '_> {
409409 use_expr : bool ,
410410 ) {
411411 let start_address = self . next_opcode_location ( ) ;
412- self . emit_opcode ( Opcode :: LoopContinue ) ;
412+ self . emit_opcode ( Opcode :: IncrementLoopIteration ) ;
413413 self . push_loop_control_info ( label, start_address, use_expr) ;
414414
415415 self . compile_expr ( while_loop. condition ( ) , true ) ;
@@ -436,7 +436,7 @@ impl ByteCompiler<'_, '_> {
436436 self . push_loop_control_info ( label, start_address, use_expr) ;
437437
438438 let condition_label_address = self . next_opcode_location ( ) ;
439- self . emit_opcode ( Opcode :: LoopContinue ) ;
439+ self . emit_opcode ( Opcode :: IncrementLoopIteration ) ;
440440 self . compile_expr ( do_while_loop. cond ( ) , true ) ;
441441 let exit = self . jump_if_false ( ) ;
442442
0 commit comments