Browse Source

fixme trivia

pull/1/head
Sami Vaarala 11 years ago
parent
commit
82b80b3b12
  1. 2
      src/duk_js_executor.c

2
src/duk_js_executor.c

@ -1293,7 +1293,7 @@ static void duk_executor_interrupt(duk_hthread *thr) {
ctr = DUK_HEAP_INTCTR_DEFAULT; ctr = DUK_HEAP_INTCTR_DEFAULT;
#if 0 #if 0
/* FIXME: cumulative instruction count */ /* FIXME: cumulative instruction count example */
static int step_count = 0; static int step_count = 0;
step_count += thr->heap->interrupt_init; step_count += thr->heap->interrupt_init;
if (step_count >= 1000000) { if (step_count >= 1000000) {

Loading…
Cancel
Save