about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-11-18 15:59:10 -0800
committerBrian Anderson <banderson@mozilla.com>2011-11-18 15:59:10 -0800
commit9aa67052e17705ee8175505836a2fa0117f044fe (patch)
tree75d3c9944e736593fe2730a4f658b694ea19e6d7 /src/rt/rust_task.cpp
parent71bcba6815430392f167896447e34c99f33ad3a3 (diff)
downloadrust-9aa67052e17705ee8175505836a2fa0117f044fe.tar.gz
rust-9aa67052e17705ee8175505836a2fa0117f044fe.zip
rt: Remove some stack-wasting macros from rust_task::yield
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index e996563b0f5..fbaaebb8289 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -268,11 +268,7 @@ rust_task::grow(size_t n_frame_bytes)
 // Only run this on the rust stack
 void
 rust_task::yield(size_t time_in_us, bool *killed) {
-    LOG(this, task, "task %s @0x%" PRIxPTR " yielding for %d us",
-        name, this, time_in_us);
-
     if (this->killed) {
-        A(sched, !blocked(), "Shouldn't be blocked before failing");
         *killed = true;
     }