Changeset 490

Show
Ignore:
Timestamp:
10/18/07 19:20:40 (10 months ago)
Author:
krobillard
Message:

Increased control stack size.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/thune/internal.h

    r460 r490  
    214214#define UR_TOC              ((CEntry*) ut->toc) 
    215215#define UR_BOC              ((CEntry*) ut->cstack) 
     216 
     217#ifdef DEBUG 
     218#define UR_C_GROW \ 
     219    ++ut->toc; \ 
     220    assert( (char*)ut->toc < (char*)ut->localFT ) 
     221#else 
    216222#define UR_C_GROW           ++ut->toc 
     223#endif 
     224 
    217225#define UR_C_DEC            --ut->toc 
    218226#define UR_C_DECN(n)        ut->toc -= n 
  • trunk/thune/thune.c

    r483 r490  
    479479                case OP_NOP: 
    480480#ifdef DEBUG 
     481#if 0 
     482                    printf( "KR TOC %d  localFT gap %d\n", 
     483                            ut->toc - ut->cstack, 
     484                            (char*) ut->localFT - (char*) ut->toc ); 
     485#endif 
    481486                    val = 0;             
    482487#endif 
  • trunk/thune/urlan.h

    r483 r490  
    425425 
    426426#define UR_DSTACK_SIZE      256 
    427 #define UR_CSTACK_SIZE      128 
     427#define UR_CSTACK_SIZE      256 
    428428 
    429429#define UR_TASK_RUNNING     1