aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_gc.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-17 12:33:49 +0100
committerRickard Green <[email protected]>2017-01-17 12:33:49 +0100
commit98bdfd73f6fdab9e7284d0063fd594033fc7180e (patch)
tree61b5e5e4dd3b98f3a59fca23a5a23eb44734ee47 /erts/emulator/beam/erl_gc.c
parent6db6cd94682d05eddbfa8b712419e70576d20846 (diff)
parent7350e237d66f5098b53de7fa58e725753c04d530 (diff)
downloadotp-98bdfd73f6fdab9e7284d0063fd594033fc7180e.tar.gz
otp-98bdfd73f6fdab9e7284d0063fd594033fc7180e.tar.bz2
otp-98bdfd73f6fdab9e7284d0063fd594033fc7180e.zip
Merge branch 'rickard/no-harddebug' into maint
* rickard/no-harddebug: Do not automatically define HARDDEBUG when DEBUG is defined
Diffstat (limited to 'erts/emulator/beam/erl_gc.c')
-rw-r--r--erts/emulator/beam/erl_gc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c
index 3cbb7adfe0..669f2bc610 100644
--- a/erts/emulator/beam/erl_gc.c
+++ b/erts/emulator/beam/erl_gc.c
@@ -59,6 +59,10 @@
# define ERTS_GC_ASSERT(B) ((void) 1)
#endif
+#if defined(DEBUG) && 0
+# define HARDDEBUG 1
+#endif
+
/*
* Returns number of elements in an array.
*/