mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
rt: Remove get_frame_glue_fns. Unused
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user