Changeset 493

Show
Ignore:
Timestamp:
10/23/07 17:55:22 (10 months ago)
Author:
krobillard
Message:

Added stack.level

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/thune/eval.c

    r480 r493  
    933933    _probe( ut, tos ); 
    934934    UR_S_SAFE_DROP; 
     935} 
     936 
     937 
     938UR_CALL( uc_stack_level ) 
     939{ 
     940    UR_S_GROW; 
     941    ur_initType(UR_TOS, UT_INT); 
     942    ur_int(UR_TOS) = UR_TOS - UR_BOS; 
    935943} 
    936944#endif 
     
    17591767#endif 
    17601768    { uc_showTOS,      "." }, 
     1769    { uc_stack_level,  "stack.level" }, 
    17611770    { uc_lift_local,   "lift-local" }, 
    17621771    //{ uc_enclose,      "enclose" },