vm: build fix
							parent
							
								
									b952977d53
								
							
						
					
					
						commit
						ab9b462411
					
				| 
						 | 
				
			
			@ -145,12 +145,12 @@ void factor_vm::primitive_save_image_and_exit()
 | 
			
		|||
		exit(1);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void factor_vm::data_fixup(cell *cell, cell data_relocation_base)
 | 
			
		||||
void factor_vm::data_fixup(cell *handle, cell data_relocation_base)
 | 
			
		||||
{
 | 
			
		||||
	if(immediate_p(*cell))
 | 
			
		||||
	if(immediate_p(*handle))
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	*cell += (data->tenured->start - data_relocation_base);
 | 
			
		||||
	*handle += (data->tenured->start - data_relocation_base);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
template<typename Type> void factor_vm::code_fixup(Type **handle, cell code_relocation_base)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -547,7 +547,7 @@ struct factor_vm
 | 
			
		|||
	bool save_image(const vm_char *filename);
 | 
			
		||||
	void primitive_save_image();
 | 
			
		||||
	void primitive_save_image_and_exit();
 | 
			
		||||
	void data_fixup(cell *cell, cell data_relocation_base);
 | 
			
		||||
	void data_fixup(cell *handle, cell data_relocation_base);
 | 
			
		||||
	template<typename Type> void code_fixup(Type **handle, cell code_relocation_base);
 | 
			
		||||
	void fixup_word(word *word, cell code_relocation_base);
 | 
			
		||||
	void fixup_quotation(quotation *quot, cell code_relocation_base);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue