diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-09-06 14:03:20 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-09-07 10:32:58 -0700 |
| commit | 25ae3d655cef63041d405a45f4797d21f8904502 (patch) | |
| tree | 6a6dc9c15050df636670e36709a1a3ed7f2a8759 /src/rt/arch | |
| parent | 1bd627039ed6979c59d25aee67548091522c6ff9 (diff) | |
| download | rust-25ae3d655cef63041d405a45f4797d21f8904502.tar.gz rust-25ae3d655cef63041d405a45f4797d21f8904502.zip | |
Rewrite spawn yet again
The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236
Diffstat (limited to 'src/rt/arch')
| -rw-r--r-- | src/rt/arch/i386/_context.S | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rt/arch/i386/_context.S b/src/rt/arch/i386/_context.S index 105c35239b3..d7ad044da50 100644 --- a/src/rt/arch/i386/_context.S +++ b/src/rt/arch/i386/_context.S @@ -75,11 +75,3 @@ swap_registers: jmp *48(%eax) -.globl task_trampoline -task_trampoline: - // This gets set up by std::task::_spawn. -#if defined(__APPLE__) || defined(__WIN32__) - call _task_exit -#else - call task_exit -#endif |
