Skip to content

Commit 1fe3904

Browse files
committed
More debug
1 parent c133cfc commit 1fe3904

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/runtime/eval.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5098,6 +5098,8 @@ evali(NODEPTR an)
50985098
int hdr;
50995099
#endif /* WANT_STDIO */
51005100

5101+
//fprintf(stderr, "evali enter stk=%d\n", (int)stk);
5102+
51015103
#if MAXSTACKDEPTH
51025104
counter_t old_cur_c_stack = cur_c_stack;
51035105
if (++cur_c_stack > max_c_stack)
@@ -6536,7 +6538,6 @@ evali(NODEPTR an)
65366538
POP(3);
65376539
n = TOP(-1);
65386540
binint:
6539-
/* if we don't need Int64 implementation, just make Int and Int64 the same */
65406541
switch (GETTAG(p)) {
65416542
case T_IND: p = GETINDIR(p); goto binint;
65426543
case T_ADD: ADD_OVERFLOW(value_t, ru, xu, yu); break;
@@ -6930,6 +6931,7 @@ evali(NODEPTR an)
69306931
#if MAXSTACKDEPTH
69316932
cur_c_stack = old_cur_c_stack; /* reset rather than counting down, in case of longjump */
69326933
#endif
6934+
//fprintf(stderr, "evali exit stack_ptr=%d\n", (int)stack_ptr);
69336935
return n;
69346936
}
69356937

0 commit comments

Comments
 (0)