Branch: Tag:

1999-10-29

1999-10-29 22:02:30 by Fredrik Noring <noring@nocrew.org>

Bugfix for push_int64.

Rev: src/bignum.c:1.12

118:    dmalloc_touch_svalue(sp);   }    + #ifdef INT64 + /* These routines can be made much more optimized. */ +    #define BIGNUM_INT64_MASK 0xffff   #define BIGNUM_INT64_SHIFT 16    - #ifdef INT64 +    void push_int64(INT64 i)   {    if(i == (INT_TYPE)i)
158: Inside #if defined(INT64)
   apply_low(sp[-2].u.object, orfun, 1);    stack_swap();    pop_stack(); +  +  if(sp[-1].type == T_INT) +  convert_stack_top_to_bignum();    }       if(neg)