Changeset 54 for trunk/orca/bytecode.c

Show
Ignore:
Timestamp:
02/17/06 15:30:01 (3 years ago)
Author:
krobillard
Message:

Now using orDecimal() & orInt() where appropriate.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/bytecode.c

    r42 r54  
    7575        case OT_INTEGER: 
    7676        { 
    77             int i = val->integer; 
     77            int i = orInt(val); 
    7878            if( i > 255 ) 
    7979            { 
     
    103103 
    104104            end = cp + 8; 
    105             li = *((uint64_t*) &val->num.decimal); 
     105            li = *((uint64_t*) &orDecimal(val)); 
    106106            while( cp != end ) 
    107107            { 
     
    117117            RESERVE( 2 ); 
    118118            *cp++ = val->type; 
    119             *cp   = val->integer & 0xff; 
     119            *cp   = orInt(val) & 0xff; 
    120120            break; 
    121121