Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
0185-beam_types-Fix-conversion-of-types-from-Er...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0185-beam_types-Fix-conversion-of-types-from-Erlang-OTP-2.patch of Package erlang
From d934ea9b960a015119906af26d9f296959be3dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Sat, 9 Mar 2024 19:25:39 +0100 Subject: [PATCH 2/3] beam_types: Fix conversion of types from Erlang/OTP 25 This code is used by `beam_disasm` when disassembling code compiled by the compiler in Erlang/OTP 25. --- lib/compiler/src/beam_types.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compiler/src/beam_types.erl b/lib/compiler/src/beam_types.erl index afc25aebed..c07f96ec6e 100644 --- a/lib/compiler/src/beam_types.erl +++ b/lib/compiler/src/beam_types.erl @@ -1475,8 +1475,8 @@ convert_ext(?BEAM_TYPES_VERSION_25, Types0) -> true -> true = 0 =/= (TypeBits0 band NumberMask), %Assertion. TypeBits = TypeBits0 bor - ?BEAM_TYPE_HAS_LOWER_BOUND bor - ?BEAM_TYPE_HAS_UPPER_BOUND, + ((?BEAM_TYPE_HAS_LOWER_BOUND bor + ?BEAM_TYPE_HAS_UPPER_BOUND) bsl 1), <<TypeBits:16,Min:64/signed,Max:64/signed>>; false -> <<TypeBits0:16>> -- 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