aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-04-07 20:38:55 +0200
committerSverker Eriksson <[email protected]>2016-04-07 20:38:55 +0200
commite4b8b9be39601b1c79dfd5d8e807ae4c404b6935 (patch)
tree7c6988f656aee95f639ac8a6293328b333f1f3d2 /erts/emulator/beam
parent539ce190ba8f8842c24b17f3257c44cd850d7e01 (diff)
downloadotp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.tar.gz
otp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.tar.bz2
otp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.zip
erts: Add DFLAG_BIG_CREATION
to let future nodes know that we can handle NEW_PID_EXT, NEW_PORT_EXT and NEWER_REFERENCE_EXT.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/dist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/dist.h b/erts/emulator/beam/dist.h
index fb777d9ac1..e3ff6ebad1 100644
--- a/erts/emulator/beam/dist.h
+++ b/erts/emulator/beam/dist.h
@@ -43,6 +43,7 @@
#define DFLAG_INTERNAL_TAGS 0x8000
#define DFLAG_UTF8_ATOMS 0x10000
#define DFLAG_MAP_TAG 0x20000
+#define DFLAG_BIG_CREATION 0x40000
/* All flags that should be enabled when term_to_binary/1 is used. */
#define TERM_TO_BINARY_DFLAGS (DFLAG_EXTENDED_REFERENCES \
@@ -51,7 +52,8 @@
| DFLAG_EXTENDED_PIDS_PORTS \
| DFLAG_EXPORT_PTR_TAG \
| DFLAG_BIT_BINARIES \
- | DFLAG_MAP_TAG)
+ | DFLAG_MAP_TAG \
+ | DFLAG_BIG_CREATION)
/* opcodes used in distribution messages */
#define DOP_LINK 1