aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorNikolaos S. Papaspyrou <[email protected]>2012-06-11 15:17:01 +0300
committerBjörn-Egil Dahlberg <[email protected]>2015-11-17 14:45:45 +0100
commit277e8e77384ed6628009243e63d62f0555d10c69 (patch)
tree7a2047e44d4c67939782d38ffe7aa2d29620b276 /erts/emulator/beam/global.h
parent244e9d5855d1b1f160d667b5cf369defee72829d (diff)
downloadotp-277e8e77384ed6628009243e63d62f0555d10c69.tar.gz
otp-277e8e77384ed6628009243e63d62f0555d10c69.tar.bz2
otp-277e8e77384ed6628009243e63d62f0555d10c69.zip
Add -debug +vc flag for debuging SHCOPY
This is very verbose, you have been warned. It should work with the copy-spy.py script, which may be a bit outdated.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 3e1f3664bc..303b9ee51b 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1046,16 +1046,6 @@ void erl_error(char*, va_list);
#define SHCOPY
/* Use this if you want sharing-preserving copy to be initially disabled */
#undef SHCOPY_DISABLE
-/* Use this with care, it is *very* verbose! */
-#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)