diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-02-01 19:59:48 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-02-01 21:22:49 -0800 |
| commit | a50d1fdbda6623433eee46e46487ca898776cf97 (patch) | |
| tree | 3fbc8f21f7254acc7220f5b54abd8ddb3f7d0bc9 | |
| parent | 02fbd5a164268c13f6215ab3d06ce1e5612ecd55 (diff) | |
| download | rust-a50d1fdbda6623433eee46e46487ca898776cf97.tar.gz rust-a50d1fdbda6623433eee46e46487ca898776cf97.zip | |
rt: Remove get_frame_glue_fns. Unused
| -rw-r--r-- | src/rt/rust_task.cpp | 6 | ||||
| -rw-r--r-- | src/rt/rust_task.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index e370181a2d4..a9246963ca4 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -342,12 +342,6 @@ void rust_task::fail_sched_loop() { sched_loop->fail(); } -frame_glue_fns* -rust_task::get_frame_glue_fns(uintptr_t fp) { - fp -= sizeof(uintptr_t); - return *((frame_glue_fns**) fp); -} - void rust_task::assert_is_running() { scoped_lock with(lifecycle_lock); diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 928c8ffdf21..bff4af09b32 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -347,8 +347,6 @@ public: // Propagate failure to the entire rust runtime. void fail_sched_loop(); - frame_glue_fns *get_frame_glue_fns(uintptr_t fp); - void *calloc(size_t size, const char *tag); // Use this function sparingly. Depending on the ref count is generally |
