diff options
author | Nikolaos S. Papaspyrou <[email protected]> | 2012-06-09 00:19:28 +0300 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-11-17 14:33:12 +0100 |
commit | cfe998988c942bed0fbf026c00a2531fdf5aba7c (patch) | |
tree | ef4692fdb491b8aac4ff1da8d01291cc5da3a816 /erts/emulator/beam/global.h | |
parent | d5711cb70be9ad2e5c78839e8a368900ba248a4a (diff) | |
download | otp-cfe998988c942bed0fbf026c00a2531fdf5aba7c.tar.gz otp-cfe998988c942bed0fbf026c00a2531fdf5aba7c.tar.bz2 otp-cfe998988c942bed0fbf026c00a2531fdf5aba7c.zip |
Add the BIF size_shared/1 and debug cleanup
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index d99f6548f9..c2056dafaa 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1048,9 +1048,13 @@ void erl_error(char*, va_list); #undef SHCOPY_DEBUG #endif +#ifdef SHCOPY_DEBUG #define VERBOSE_DEBUG(...) do { \ erts_fprintf(stderr, __VA_ARGS__); \ } while(0) +#else +#define VERBOSE_DEBUG(...) +#endif #define ERTS_SHCOPY_FLG_MASK (((unsigned) 3) << 0) #define ERTS_SHCOPY_FLG_NONE (((unsigned) 1) << 0) |