vm: remove math::bignum_producer.
							parent
							
								
									afc07c0e05
								
							
						
					
					
						commit
						4653df21cb
					
				
							
								
								
									
										11
									
								
								vm/math.cpp
								
								
								
								
							
							
						
						
									
										11
									
								
								vm/math.cpp
								
								
								
								
							| 
						 | 
				
			
			@ -213,17 +213,6 @@ void factor_vm::primitive_bignum_log2()
 | 
			
		|||
	ctx->replace(tag<bignum>(bignum_integer_length(untag<bignum>(ctx->peek()))));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
unsigned int factor_vm::bignum_producer(unsigned int digit)
 | 
			
		||||
{
 | 
			
		||||
	unsigned char *ptr = (unsigned char *)alien_offset(ctx->peek());
 | 
			
		||||
	return *(ptr + digit);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
unsigned int bignum_producer(unsigned int digit, factor_vm *parent)
 | 
			
		||||
{
 | 
			
		||||
	return parent->bignum_producer(digit);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
cell factor_vm::unbox_array_size_slow()
 | 
			
		||||
{
 | 
			
		||||
	if(tagged<object>(ctx->peek()).type() == BIGNUM_TYPE)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue