Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1099-beam_ssa_codegen-Remove-incorrect-spec-for...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1099-beam_ssa_codegen-Remove-incorrect-spec-for-is_gc_bif.patch of Package erlang
From abad0491f19adbc08c437780484ff4b2babcc22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Mon, 7 Nov 2022 08:51:53 +0100 Subject: [PATCH] beam_ssa_codegen: Remove incorrect spec for is_gc_bif/2 The spec is incorrect, because the arguments in the list is of type `cg_value()`. Because this function is not exported, we will remove spec instead of correcting it. --- lib/compiler/src/beam_ssa_codegen.erl | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/compiler/src/beam_ssa_codegen.erl b/lib/compiler/src/beam_ssa_codegen.erl index 22c8f82e39..9c430d45b6 100644 --- a/lib/compiler/src/beam_ssa_codegen.erl +++ b/lib/compiler/src/beam_ssa_codegen.erl @@ -2210,8 +2210,6 @@ local_func_label(Key, #cg{functable=Map}=St0) -> %% is_gc_bif(Name, Args) -> true|false. %% Determines whether the BIF Name/Arity might do a GC. --spec is_gc_bif(atom(), [beam_ssa:value()]) -> boolean(). - is_gc_bif(hd, [_]) -> false; is_gc_bif(tl, [_]) -> false; is_gc_bif(self, []) -> false; -- 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