Skip to content

Commit a50d1fd

Browse files
committed
rt: Remove get_frame_glue_fns. Unused
1 parent 02fbd5a commit a50d1fd

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/rt/rust_task.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,6 @@ void rust_task::fail_sched_loop() {
342342
sched_loop->fail();
343343
}
344344

345-
frame_glue_fns*
346-
rust_task::get_frame_glue_fns(uintptr_t fp) {
347-
fp -= sizeof(uintptr_t);
348-
return *((frame_glue_fns**) fp);
349-
}
350-
351345
void rust_task::assert_is_running()
352346
{
353347
scoped_lock with(lifecycle_lock);

src/rt/rust_task.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,6 @@ rust_task : public kernel_owned<rust_task>
347347
// Propagate failure to the entire rust runtime.
348348
void fail_sched_loop();
349349

350-
frame_glue_fns *get_frame_glue_fns(uintptr_t fp);
351-
352350
void *calloc(size_t size, const char *tag);
353351

354352
// Use this function sparingly. Depending on the ref count is generally

0 commit comments

Comments
 (0)