mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:12:44 +00:00 
			
		
		
		
	JSSpecCompiler: Make TranslationUnit fields private
For some reason I was afraid to add trivial accessors to classes in earlier PRs, so we now have dozens of classes with public fields. I'm not exactly looking forward to refactoring them all at once but I'll do so gradually.
This commit is contained in:
		
							parent
							
								
									a2f7849238
								
							
						
					
					
						commit
						3aec6952a2
					
				
					 8 changed files with 46 additions and 24 deletions
				
			
		|  | @ -11,7 +11,7 @@ namespace JSSpecCompiler { | |||
| 
 | ||||
| void IntraproceduralCompilerPass::run() | ||||
| { | ||||
|     for (auto const& function : m_translation_unit->functions_to_compile) { | ||||
|     for (auto const& function : m_translation_unit->functions_to_compile()) { | ||||
|         m_function = function; | ||||
|         process_function(); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Klishch
						Dan Klishch