Skip to content

Commit 54a8394

Browse files
committed
---
yaml --- r: 6537 b: refs/heads/master c: 1974cf9 h: refs/heads/master i: 6535: 1de40c7 v: v3
1 parent d0ee3f0 commit 54a8394

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 249f017bf2456100cabcfe5fcc2353097257fc84
2+
refs/heads/master: 1974cf9a817455fb3dda94f6bb6ad7c85647260c

trunk/src/rt/rust_internal.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,6 @@ static size_t const BUF_BYTES = 2048;
9494
// The error status to use when the process fails
9595
#define PROC_FAIL_CODE 101;
9696

97-
// FIXME: We want this to be 128 but need to slim the red zone calls down
98-
#ifdef __i386__
99-
#define RED_ZONE_SIZE 2048
100-
#endif
101-
102-
#ifdef __x86_64__
103-
#define RED_ZONE_SIZE 2048
104-
#endif
105-
10697
// Every reference counted object should use this macro and initialize
10798
// ref_count.
10899

trunk/src/rt/rust_task.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414

1515
#include "globals.h"
1616

17+
// The amount of extra space at the end of each stack segment, available
18+
// to the rt, compiler and dynamic linker for running small functions
19+
// FIXME: We want this to be 128 but need to slim the red zone calls down
20+
#ifdef __i386__
21+
#define RED_ZONE_SIZE 2048
22+
#endif
23+
24+
#ifdef __x86_64__
25+
#define RED_ZONE_SIZE 2048
26+
#endif
1727

1828
// Stack size
1929
size_t g_custom_min_stack_size = 0;

0 commit comments

Comments
 (0)