diff options
author | Rickard Green <[email protected]> | 2017-01-17 12:33:49 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-17 12:33:49 +0100 |
commit | 98bdfd73f6fdab9e7284d0063fd594033fc7180e (patch) | |
tree | 61b5e5e4dd3b98f3a59fca23a5a23eb44734ee47 | |
parent | 6db6cd94682d05eddbfa8b712419e70576d20846 (diff) | |
parent | 7350e237d66f5098b53de7fa58e725753c04d530 (diff) | |
download | otp-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
-rw-r--r-- | erts/emulator/beam/erl_gc.c | 4 | ||||
-rw-r--r-- | erts/emulator/beam/erl_gc.h | 4 |
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))) |