diff options
| author | Philipp Brüschweiler <blei42@gmail.com> | 2013-06-21 10:00:49 +0200 |
|---|---|---|
| committer | Philipp Brüschweiler <blei42@gmail.com> | 2013-06-23 12:49:16 +0200 |
| commit | 976c0b3dfb6a0da8a70958f157507b5dcf7c5ceb (patch) | |
| tree | bb7afcd189fcab9ab60366b7cb885573dad7be17 /src/rt/rust_builtin.cpp | |
| parent | 273f90566c26309c13ebe10278f8745e978250b2 (diff) | |
| download | rust-976c0b3dfb6a0da8a70958f157507b5dcf7c5ceb.tar.gz rust-976c0b3dfb6a0da8a70958f157507b5dcf7c5ceb.zip | |
Remove rust_call_tydesc_glue
Towards #4812. Also includes some minor cleanups.
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 1a84325c7a9..8d771da32fc 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -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) { |
