about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-16 22:06:28 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-17 11:37:17 -0800
commitfca8e9e62159903942fbe226ba14d5a0196383cd (patch)
tree9aab935e18325f5782af0179827f394e9d99f9c2 /src/rt/rust_upcall.cpp
parente0b2fd84173c87d01b73ff38b8d353595207af56 (diff)
downloadrust-fca8e9e62159903942fbe226ba14d5a0196383cd.tar.gz
rust-fca8e9e62159903942fbe226ba14d5a0196383cd.zip
rt: Don't do the stack canary check in upcall_vec_push. Too slow
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index f4f9ab8b327..52c2a56764e 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -464,10 +464,6 @@ upcall_vec_push(rust_vec** vp, type_desc* elt_ty, void* elt) {
     copy_elements(task, elt_ty, &v->data[0] + v->fill,
                   elt, elt_ty->size);
     v->fill += elt_ty->size;
-
-
-    // Do the stack check to make sure this op, on the Rust stack, is behaving
-    task->check_stack_canary();
 }
 
 /**********************************************************************