aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
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
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')
-rw-r--r--erts/emulator/beam/erl_gc.c4
-rw-r--r--erts/emulator/beam/erl_gc.h4
2 files changed, 4 insertions, 4 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.
*/
diff --git a/erts/emulator/beam/erl_gc.h b/erts/emulator/beam/erl_gc.h
index 9a177b7c59..2521379664 100644
--- a/erts/emulator/beam/erl_gc.h
+++ b/erts/emulator/beam/erl_gc.h
@@ -27,10 +27,6 @@
#include "erl_map.h"
-#if defined(DEBUG) && !ERTS_GLB_INLINE_INCL_FUNC_DEF
-# define HARDDEBUG 1
-#endif
-
#define IS_MOVED_BOXED(x) (!is_header((x)))
#define IS_MOVED_CONS(x) (is_non_value((x)))