diff options
author | Sverker Eriksson <[email protected]> | 2019-04-11 14:06:39 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-04-11 14:06:39 +0200 |
commit | 508738f4dcd3c8c83fffb55c2ad5c365f80dc7c4 (patch) | |
tree | 6617cc0ba929f7b736be2750dfbb4e0da4ffac09 /erts/emulator/beam/big.c | |
parent | 0e635324b19dd203454f41b41df7a7bb799bc40a (diff) | |
parent | 1ba8bf12eddb363481b1b5856af7c4d7c3313e52 (diff) | |
download | otp-508738f4dcd3c8c83fffb55c2ad5c365f80dc7c4.tar.gz otp-508738f4dcd3c8c83fffb55c2ad5c365f80dc7c4.tar.bz2 otp-508738f4dcd3c8c83fffb55c2ad5c365f80dc7c4.zip |
Merge branch 'sverker/revert-big-creation'
* sverker/revert-big-creation:
Revert "erts: Make DFLAG_BIG_CREATION mandatory"
Revert "erts: Remove old encoding of pids, ports and refs"
Revert "erl_interface: Remove old encoding of pid,port,refs"
Revert "epmd: Support 32-bit creation values in local node"
Revert "jinterface: Remove old encoding of pid,port,refs"
Revert "erl_interface: Support 32-bit creation local cnode"
Revert "erts: Document new EPMD response ALIVE2_X_RESP"
Diffstat (limited to 'erts/emulator/beam/big.c')
-rw-r--r-- | erts/emulator/beam/big.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/erts/emulator/beam/big.c b/erts/emulator/beam/big.c index 7666f23a4f..522f50287a 100644 --- a/erts/emulator/beam/big.c +++ b/erts/emulator/beam/big.c @@ -2176,24 +2176,6 @@ term_to_Uint64(Eterm term, Uint64 *up) #endif } -int -term_to_Uint32(Eterm term, Uint32 *up) -{ -#if ERTS_SIZEOF_ETERM == 4 - return term_to_Uint(term,up); -#else - if (is_small(term)) { - Sint i = signed_val(term); - if (i >= 0) { - *up = (Uint32) i; - return 1; - } - } - *up = BADARG; - return 0; -#endif -} - int term_to_Sint(Eterm term, Sint *sp) { |