rt::task: Make current_stack_segment public

Servo needs to tell SpiderMonkey about the stack bounds.
This commit is contained in:
Keegan McAllister 2013-08-12 13:54:38 -07:00
parent ecfc9a8223
commit 2145de8c8f
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ pub struct Coroutine {
/// The segment of stack on which the task is currently running or
/// if the task is blocked, on which the task will resume
/// execution.
priv current_stack_segment: StackSegment,
current_stack_segment: StackSegment,
/// Always valid if the task is alive and not running.
saved_context: Context
}