mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	JSSpecCompiler: Create FunctionDeclarations for all external functions
				
					
				
			This commit is contained in:
		
							parent
							
								
									5338cdd153
								
							
						
					
					
						commit
						7f47340c82
					
				
					 8 changed files with 32 additions and 35 deletions
				
			
		|  | @ -47,7 +47,7 @@ void ReferenceResolvingPass::on_leave(Tree tree) | |||
|         } | ||||
| 
 | ||||
|         if (auto it = functions.find(name); it != functions.end()) { | ||||
|             replace_current_node_with(it->value); | ||||
|             replace_current_node_with(make_ref_counted<FunctionPointer>(it->value)); | ||||
|             return; | ||||
|         } | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Klishch
						Dan Klishch