diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-17 16:27:46 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-18 10:32:27 -0800 |
| commit | 63d40b8ab661ae1921bac26e0e4c72fb0ce57586 (patch) | |
| tree | 398de5cc70785252310f97a0af47043b61176fb2 /src/rt/rust_task.cpp | |
| parent | d52888f0badf05e183368ac6ba221691e8e2a130 (diff) | |
| download | rust-63d40b8ab661ae1921bac26e0e4c72fb0ce57586.tar.gz rust-63d40b8ab661ae1921bac26e0e4c72fb0ce57586.zip | |
rt: Remove some unnecessary setting of rust_task::killed
The value of this variable doesn't matter after the task fails.
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index d6c981b9df2..5a05c5429eb 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -277,7 +277,6 @@ rust_task::yield(size_t time_in_us) { if (killed && !dead()) { unblock(); - killed = false; fail(); } yield_timer.reset_us(time_in_us); @@ -286,7 +285,6 @@ rust_task::yield(size_t time_in_us) { ctx.next->swap(ctx); if (killed) { - killed = false; fail(); } } |
