From 128621be97d425a1d19e6640c8aee4fb6fca430b Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 20 Dec 2011 20:01:50 -0800 Subject: [PATCH] rt: Remove rust_task::grow. Obsolete --- src/rt/rust_task.cpp | 10 ---------- src/rt/rust_task.h | 1 - 2 files changed, 11 deletions(-) diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 6949df03f431..2e6c41a8e795 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -397,16 +397,6 @@ void rust_task::start() sched->lock.signal(); } -void -rust_task::grow(size_t n_frame_bytes) -{ - // FIXME (issue #151): Just fail rather than almost certainly crashing - // mysteriously later. The commented-out logic below won't work at all in - // the presence of non-word-aligned pointers. - abort(); - -} - // Only run this on the rust stack void rust_task::yield(size_t time_in_us, bool *killed) { diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 1f924793e3dd..21d20691ac61 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -138,7 +138,6 @@ rust_task : public kernel_owned, rust_cond void start(uintptr_t spawnee_fn, uintptr_t args); void start(); - void grow(size_t n_frame_bytes); bool running(); bool blocked(); bool blocked_on(rust_cond *cond);