1
Fork 0

Fix bug in bind thunks failing top drop unbound args; add test and adjust rustc to use bind again.

This commit is contained in:
Graydon Hoare 2010-09-30 17:39:37 -07:00
parent 62c224ffe4
commit 2e0d075407
5 changed files with 33 additions and 5 deletions

View file

@ -338,6 +338,10 @@ debug_fn(rust_task *task, type_desc *t, rust_fn *fn)
debug_tydesc_helper(task, t);
task->log(rust_log::STDLIB, " thunk at 0x%" PRIxPTR, fn->thunk);
task->log(rust_log::STDLIB, " closure at 0x%" PRIxPTR, fn->closure);
if (fn->closure) {
task->log(rust_log::STDLIB, " refcount %" PRIdPTR,
fn->closure->ref_count);
}
}
extern "C" CDECL void *