From 249f017bf2456100cabcfe5fcc2353097257fc84 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 1 Dec 2011 15:33:15 -0800 Subject: rt: Add FIXME's about future changes to LLVM's __morestack impl --- src/rt/rust_task.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/rt/rust_task.cpp') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 97e22618741..808d1a6b986 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -588,6 +588,9 @@ rust_task::del_stack() { void rust_task::record_stack_limit() { + // FIXME: Future LLVM patches expect us to add an additional 256 bytes + // here so that, if the frame size is < 256 it can generate the + // comparison against esp directly, instead of some offset from esp record_sp(stk->data + RED_ZONE_SIZE); } // -- cgit 1.4.1-3-g733a5