diff options
author | Rickard Green <[email protected]> | 2017-01-13 17:46:58 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-13 17:46:58 +0100 |
commit | 7350e237d66f5098b53de7fa58e725753c04d530 (patch) | |
tree | 6bc5c10cba26dd305b8400b3855b61f4997c32fc | |
parent | 3473ecd83a7bbe7e0bebb865f25dddb93e3bf10f (diff) | |
download | otp-7350e237d66f5098b53de7fa58e725753c04d530.tar.gz otp-7350e237d66f5098b53de7fa58e725753c04d530.tar.bz2 otp-7350e237d66f5098b53de7fa58e725753c04d530.zip |
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 af799d09da..46be91c5d5 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 54ea9ca3c0..49cc43a48f 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))) |