mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 08:19:36 +01:00 
			
		
		
		
	+ support all subset locations in twasmaddnode.second_generic_compare. This improves support for bitpacked records and arrays in WebAssembly.
This commit is contained in:
		
							parent
							
								
									0fead21e78
								
							
						
					
					
						commit
						d29cc470f6
					
				@ -383,7 +383,10 @@ interface
 | 
			
		||||
          LOC_CONSTANT:
 | 
			
		||||
            thlcgwasm(hlcg).a_cmp_const_loc_stack(current_asmdata.CurrAsmList,left.resultdef,cmpop,right.location.value,left.location);
 | 
			
		||||
          else
 | 
			
		||||
            internalerror(2011010413);
 | 
			
		||||
            begin
 | 
			
		||||
              hlcg.location_force_reg(current_asmdata.CurrAsmList,right.location,right.resultdef,right.resultdef,false);
 | 
			
		||||
              thlcgwasm(hlcg).a_cmp_reg_loc_stack(current_asmdata.CurrAsmList,left.resultdef,cmpop,right.location.register,left.location);
 | 
			
		||||
            end;
 | 
			
		||||
        end;
 | 
			
		||||
        set_result_location_reg;
 | 
			
		||||
        thlcgwasm(hlcg).a_load_stack_loc(current_asmdata.CurrAsmList,resultdef,location);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user