Commit ac863445 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-09-12 14:34:08 by simonmar]

checkBQ() is dead code in non-GRAN/PAR
parent 9f121f6c
......@@ -886,30 +886,6 @@ checkBQ (StgTSO *bqe, StgClosure *closure)
}
} while (!end);
}
#else
void
checkBQ (StgTSO *bqe, StgClosure *closure)
{
rtsBool end = rtsFalse;
StgInfoTable *info = get_itbl(closure);
ASSERT(info->type == MVAR);
do {
switch (get_itbl(bqe)->type) {
case TSO:
checkClosure((StgClosure *)bqe);
bqe = bqe->link;
end = (bqe==END_TSO_QUEUE);
break;
default:
barf("checkBQ: strange closure %d in blocking queue for closure %p\n",
get_itbl(bqe)->type, closure, info->type);
}
} while (!end);
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment