diff options
author | Lukas Larsson <[email protected]> | 2011-11-02 09:35:15 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-11-28 15:51:14 +0100 |
commit | 7a73f9f4cfd6e29194acd6ba938a261628ce046a (patch) | |
tree | ef522fd0b231cbcbd10161f840ba82c0ccbaf07b /erts/emulator | |
parent | ec153fa6d7ba58a741e18f36b12736ec55243d35 (diff) | |
download | otp-7a73f9f4cfd6e29194acd6ba938a261628ce046a.tar.gz otp-7a73f9f4cfd6e29194acd6ba938a261628ce046a.tar.bz2 otp-7a73f9f4cfd6e29194acd6ba938a261628ce046a.zip |
Use CMP_TMP_HEAD_SIZE for C-stack
Thanks to Tuncer Ayaz
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/utils.c | 2 |
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 |