diff options
author | Rickard Green <[email protected]> | 2017-02-06 17:06:00 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-02-06 17:06:00 +0100 |
commit | c95e126ab3d4fbf38ef6cb9694da079d895ffa68 (patch) | |
tree | 03c21476f88b47fe4d7d057b59a44fb1ebf44306 /erts/emulator/beam/erl_init.c | |
parent | e6f84e033a6a809a68f188c306151567c9854050 (diff) | |
parent | 7eff21e2b0b86f798cce29835cd85a414d3d1be5 (diff) | |
download | otp-c95e126ab3d4fbf38ef6cb9694da079d895ffa68.tar.gz otp-c95e126ab3d4fbf38ef6cb9694da079d895ffa68.tar.bz2 otp-c95e126ab3d4fbf38ef6cb9694da079d895ffa68.zip |
Merge branch 'rickard/hole-marker' into maint
* rickard/hole-marker:
Use a hole-marker that cannot be mistaken for a valid term on the heap
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r-- | erts/emulator/beam/erl_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c index 070cc3f2d0..f65a06c85f 100644 --- a/erts/emulator/beam/erl_init.c +++ b/erts/emulator/beam/erl_init.c @@ -117,6 +117,11 @@ const int etp_big_endian = 1; const int etp_big_endian = 0; #endif const Eterm etp_the_non_value = THE_NON_VALUE; +#ifdef ERTS_HOLE_MARKER +const Eterm etp_hole_marker = ERTS_HOLE_MARKER; +#else +const Eterm etp_hole_marker = 0; +#endif /* * Note about VxWorks: All variables must be initialized by executable code, |