mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	LibJS: Remove unused members from EnterUnwindContext instruction
This commit is contained in:
		
							parent
							
								
									b6435ca280
								
							
						
					
					
						commit
						298dfa96a4
					
				
				
				Notes:
				
					sideshowbarker
				
				2024-07-17 09:37:30 +09:00 
				
			
			Author: https://github.com/awesomekling
Commit: 298dfa96a4
Pull-request: https://github.com/SerenityOS/serenity/pull/21905
			
					 3 changed files with 3 additions and 11 deletions
				
			
		|  | @ -2397,7 +2397,7 @@ Bytecode::CodeGenerationErrorOr<void> TryStatement::generate_bytecode(Bytecode:: | |||
| 
 | ||||
|     auto& target_block = generator.make_block(); | ||||
|     generator.switch_to_basic_block(saved_block); | ||||
|     generator.emit<Bytecode::Op::EnterUnwindContext>(Bytecode::Label { target_block }, handler_target, finalizer_target); | ||||
|     generator.emit<Bytecode::Op::EnterUnwindContext>(Bytecode::Label { target_block }); | ||||
|     generator.start_boundary(Bytecode::Generator::BlockBoundaryType::Unwind); | ||||
|     if (m_finalizer) | ||||
|         generator.start_boundary(Bytecode::Generator::BlockBoundaryType::ReturnToFinally); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling