diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-09 13:55:43 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-09 13:55:43 +0200 |
| commit | bd2ec03771fcc589772a0b42ff9a76ec81e0f993 (patch) | |
| tree | 4f54372fd2e182642dc9880ddb0ac8438208232f /src/rt/rust_upcall.cpp | |
| parent | e57435f68baacb2a802703c6720c689a2126714b (diff) | |
| download | rust-bd2ec03771fcc589772a0b42ff9a76ec81e0f993.tar.gz rust-bd2ec03771fcc589772a0b42ff9a76ec81e0f993.zip | |
Remove unused logging upcalls from runtime
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index cf8537ad6d0..330b10dc178 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -27,28 +27,6 @@ upcall_grow_task(rust_task *task, size_t n_frame_bytes) { task->grow(n_frame_bytes); } -extern "C" CDECL -void upcall_log_int(rust_task *task, uint32_t level, int32_t i) { - LOG_UPCALL_ENTRY(task); - if (task->sched->log_lvl >= level) - task->sched->log(task, level, "rust: %" PRId32 " (0x%" PRIx32 ")", - i, i); -} - -extern "C" CDECL -void upcall_log_float(rust_task *task, uint32_t level, float f) { - LOG_UPCALL_ENTRY(task); - if (task->sched->log_lvl >= level) - task->sched->log(task, level, "rust: %12.12f", f); -} - -extern "C" CDECL -void upcall_log_double(rust_task *task, uint32_t level, double *f) { - LOG_UPCALL_ENTRY(task); - if (task->sched->log_lvl >= level) - task->sched->log(task, level, "rust: %12.12f", *f); -} - extern "C" CDECL void upcall_yield(rust_task *task) { LOG_UPCALL_ENTRY(task); |
