about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-26 13:30:56 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-29 16:43:18 -0700
commit7f9ed39040404c59131ba3818e1ca947fb23d282 (patch)
tree48e4d6518f031faad609d62ff454d82bb3f6b541 /src/rt/rust_task.cpp
parent8780db2e0bc40aff2c030962c9fc3dd299a678fa (diff)
downloadrust-7f9ed39040404c59131ba3818e1ca947fb23d282.tar.gz
rust-7f9ed39040404c59131ba3818e1ca947fb23d282.zip
rustc: Only invoke when there are cleanups
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index de3069ddf58..fbfee499e40 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -571,7 +571,6 @@ when unwinding through __morestack).
  */
 void
 rust_task::reset_stack_limit() {
-    I(thread, on_rust_stack());
     uintptr_t sp = get_sp();
     // Have to do the rest on the C stack because it involves
     // freeing stack segments, logging, etc.