Remove rust_call_tydesc_glue

Towards #4812. Also includes some minor cleanups.
This commit is contained in:
Philipp Brüschweiler
2013-06-21 10:00:49 +02:00
parent 273f90566c
commit 976c0b3dfb
6 changed files with 17 additions and 82 deletions

View File

@@ -729,14 +729,6 @@ rust_task_deref(rust_task *task) {
task->deref();
}
// Must call on rust stack.
extern "C" CDECL void
rust_call_tydesc_glue(void *root, size_t *tydesc, size_t glue_index) {
glue_fn *fn = (glue_fn*) tydesc[glue_index];
if (fn)
fn(0, 0, root);
}
// Don't run on the Rust stack!
extern "C" void
rust_log_str(uint32_t level, const char *str, size_t size) {