From fca8e9e62159903942fbe226ba14d5a0196383cd Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 16 Feb 2012 22:06:28 -0800 Subject: [PATCH] rt: Don't do the stack canary check in upcall_vec_push. Too slow --- src/rt/rust_upcall.cpp | 4 ---- 1 file changed, 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(); } /**********************************************************************