diff options
author | Sverker Eriksson <[email protected]> | 2014-01-16 11:10:34 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-01-17 11:26:35 +0100 |
commit | 172ebf11dc455e22b87f742c06fa6344995d7db5 (patch) | |
tree | 641ece876e1fdce4286ce2c8983756be97ab0b97 /erts/emulator/beam/erl_nif.c | |
parent | 03493394e8d20591020ce6c8152cb607cb21e967 (diff) | |
download | otp-172ebf11dc455e22b87f742c06fa6344995d7db5.tar.gz otp-172ebf11dc455e22b87f742c06fa6344995d7db5.tar.bz2 otp-172ebf11dc455e22b87f742c06fa6344995d7db5.zip |
erts: Refactor ESTACK & WSTACK to use a struct easy to "export"
This is not a clean refactor. It changes the behaviour slightly
of E/WSTACK_RESTORE. The allocated stack from E/WSTACK_SAVE is used
as-is and not copied into default_stack. This will hopefully fix an
illusive memory leak that valgrind is reporting.
Diffstat (limited to 'erts/emulator/beam/erl_nif.c')
0 files changed, 0 insertions, 0 deletions