mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	
		
			
	
	
		
			23 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * Copyright (c) 2025, Andreas Kling <andreas@ladybird.org>
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * SPDX-License-Identifier: BSD-2-Clause
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <LibJS/Runtime/GeneratorResult.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace JS {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								GC_DEFINE_ALLOCATOR(GeneratorResult);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								GeneratorResult::~GeneratorResult() = default;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								void GeneratorResult::visit_edges(Cell::Visitor& visitor)
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    Base::visit_edges(visitor);
							 | 
						||
| 
								 | 
							
								    visitor.visit(m_result);
							 | 
						||
| 
								 | 
							
								    visitor.visit(m_continuation);
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								}
							 |