aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_term.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-11-13 16:47:40 +0100
committerSverker Eriksson <[email protected]>2016-04-07 18:41:47 +0200
commitbf0bf9cf009fa8ccc7fc364fdbbdeb6f491efe43 (patch)
tree5a2a9f992a52758de4a7fef8c066fbf92ee022c4 /erts/emulator/beam/erl_term.h
parent8015b8d46ff38fc05cac9cf8df9a37b5580e8909 (diff)
downloadotp-bf0bf9cf009fa8ccc7fc364fdbbdeb6f491efe43.tar.gz
otp-bf0bf9cf009fa8ccc7fc364fdbbdeb6f491efe43.tar.bz2
otp-bf0bf9cf009fa8ccc7fc364fdbbdeb6f491efe43.zip
erts: Support 32-bit creation for external pid,port,refs
from future nodes.
Diffstat (limited to 'erts/emulator/beam/erl_term.h')
-rw-r--r--erts/emulator/beam/erl_term.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/erts/emulator/beam/erl_term.h b/erts/emulator/beam/erl_term.h
index 0a71534790..fc58853b5e 100644
--- a/erts/emulator/beam/erl_term.h
+++ b/erts/emulator/beam/erl_term.h
@@ -558,14 +558,6 @@ _ET_DECLARE_CHECKED(Eterm*,tuple_val,Wterm)
#define _GETBITS(X,Pos,Size) (((X) >> (Pos)) & ~(~((Uint) 0) << (Size)))
-/*
- * Creation in node specific data (pids, ports, refs)
- */
-
-#define _CRE_SIZE 2
-
-/* MAX value for the creation field in pid, port and reference */
-#define MAX_CREATION (1 << _CRE_SIZE)
/*
* PID layout (internal pids):
@@ -579,7 +571,7 @@ _ET_DECLARE_CHECKED(Eterm*,tuple_val,Wterm)
*
* n : number
*
- * Old pid layout:
+ * Very old pid layout:
*
* |3 3 2 2 2 2 2 2|2 2 2 2 1 1 1 1|1 1 1 1 1 1 | |
* |1 0 9 8 7 6 5 4|3 2 1 0 9 8 7 6|5 4 3 2 1 0 9 8|7 6 5 4 3 2 1 0|