Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
0308-erts-Remove-some-dead-code.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0308-erts-Remove-some-dead-code.patch of Package erlang
From 2f388a796036de9a3ae408d8db57ed96d9e68e6f Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Fri, 29 Apr 2022 14:24:02 +0200 Subject: [PATCH 1/2] erts: Remove some dead code --- erts/emulator/beam/erl_message.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/erts/emulator/beam/erl_message.h b/erts/emulator/beam/erl_message.h index 76a7964ab8..c54cad5b88 100644 --- a/erts/emulator/beam/erl_message.h +++ b/erts/emulator/beam/erl_message.h @@ -517,27 +517,6 @@ void erts_cleanup_messages(ErtsMessage *mp); void *erts_alloc_message_ref(void); void erts_free_message_ref(void *); -#define ERTS_SMALL_FIX_MSG_SZ 10 -#define ERTS_MEDIUM_FIX_MSG_SZ 20 -#define ERTS_LARGE_FIX_MSG_SZ 30 - -void *erts_alloc_small_message(void); -void erts_free_small_message(void *mp); - -typedef struct { - ErtsMessage m; - Eterm data[ERTS_SMALL_FIX_MSG_SZ-1]; -} ErtsSmallFixSzMessage; - -typedef struct { - ErtsMessage m; - Eterm data[ERTS_MEDIUM_FIX_MSG_SZ-1]; -} ErtsMediumFixSzMessage; - -typedef struct { - ErtsMessage m; - Eterm data[ERTS_LARGE_FIX_MSG_SZ-1]; -} ErtsLargeFixSzMessage; ErtsMessage *erts_try_alloc_message_on_heap(Process *pp, erts_aint32_t *psp, -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor