add assertion to flush_stack_call_func
commit0a6f2ff0c8ceb29703e76cddd46ea3f176dd873a
authorTom Tromey <tromey@redhat.com>
Sat, 6 Jul 2013 20:31:16 +0000 (6 14:31 -0600)
committerTom Tromey <tromey@redhat.com>
Sat, 6 Jul 2013 20:31:16 +0000 (6 14:31 -0600)
tree838b6193378e201d1b14d4361a4e8c44b5c7d09e
parent32ca162e99da7767a0c1fde6b4aa9fb746680ec4
add assertion to flush_stack_call_func

functions called via flush_stack_call_func are assumed
to return with the global lock held again, and with
current_thread reset.  this assertion verifies part of this
src/alloc.c