aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-11-02 09:35:15 +0100
committerLukas Larsson <[email protected]>2011-11-28 15:51:14 +0100
commit7a73f9f4cfd6e29194acd6ba938a261628ce046a (patch)
treeef522fd0b231cbcbd10161f840ba82c0ccbaf07b
parentec153fa6d7ba58a741e18f36b12736ec55243d35 (diff)
downloadotp-7a73f9f4cfd6e29194acd6ba938a261628ce046a.tar.gz
otp-7a73f9f4cfd6e29194acd6ba938a261628ce046a.tar.bz2
otp-7a73f9f4cfd6e29194acd6ba938a261628ce046a.zip
Use CMP_TMP_HEAD_SIZE for C-stack
Thanks to Tuncer Ayaz
-rw-r--r--erts/emulator/beam/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index 825cb140b2..2bbb3f8687 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -2642,7 +2642,7 @@ tailrecur_ne:
FloatDef f1, f2;
Eterm big;
#if HEAP_ON_C_STACK
- Eterm big_buf[32]; /* If HEAP_ON_C_STACK */
+ Eterm big_buf[CMP_TMP_HEAP_SIZE]; /* If HEAP_ON_C_STACK */
#else
Eterm *big_buf = erts_get_scheduler_data()->cmp_tmp_heap;
#endif