summaryrefslogtreecommitdiff
path: root/bootstrap/lib/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* Update deprecationsKiko Fernandez-Reyes2023-04-191-0/+0
|
* [kernel] Remove code:is_module_native/1 and code:rehash/0Rickard Green2023-04-061-0/+0
|
* [runtime_tools,erts] Remove erts_alloc_configRickard Green2023-04-061-0/+0
|
* Update deprecationsIngela Anderton Andin2023-04-061-0/+0
|
* Update deprecationsIngela Anderton Andin2023-04-051-0/+0
|
* Update deprecationsIngela Anderton Andin2023-04-041-0/+0
|
* Update deprecationsIngela Anderton Andin2023-04-031-0/+0
|
* Update primary bootstrapBjörn Gustavsson2023-03-1789-0/+0
|
* Update primary bootstrapBjörn Gustavsson2023-02-1019-0/+0
|
* Update primary bootstrapBjörn Gustavsson2023-02-0612-0/+0
|
* Update primary bootstrapBjörn Gustavsson2023-01-3128-0/+0
|
* Update erl_lint.beam in primary bootstrapBjörn Gustavsson2023-01-301-0/+0
|
* Update deprecationsBjörn Gustavsson2023-01-271-0/+0
|
* Merge branch 'maint'Björn Gustavsson2023-01-1262-2/+4
|\ | | | | | | | | * maint: Update primary bootstrap
| * Update primary bootstrapBjörn Gustavsson2023-01-128-0/+0
| |
* | Update primary bootstrapBjörn Gustavsson2022-10-2857-0/+0
| |
* | Update primary bootstrapLukas Larsson2022-10-1414-0/+0
| |
* | Update primary bootstrapBjörn Gustavsson2022-10-061-0/+0
| |
* | Update primary bootstrapBjörn Gustavsson2022-09-162-0/+0
| |
* | Merge branch 'maint'Björn Gustavsson2022-09-0253-1/+1
|\ \ | |/ | | | | | | * maint: Update primary bootstrap
| * Update primary bootstrapBjörn Gustavsson2022-09-027-2/+2
| |
* | Merge branch 'maint'Björn Gustavsson2022-06-278-0/+0
|\ \ | |/ | | | | | | | | | | * maint: Update preloaded modules Update primary bootstrap [features] General tweaks and fixes
| * Update primary bootstrapCons T Åhs2022-06-2311-0/+0
| |
* | Update primary bootstrapBjörn Gustavsson2022-06-1787-0/+0
| |
* | Update primary bootstrapBjörn Gustavsson2022-06-1310-2/+2
| |
* | Update primary bootstrapJohn Högberg2022-06-0366-0/+0
| |
* | Merge branch 'maint'Rickard Green2022-05-311-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * maint: [kernel] Replace rpc usage with erpc usage in global_group [kernel] Introduce connect_all kernel parameter [kernel] global fixes [kernel] Monitor nodeup/nodedown directly from global [kernel] Fix global group configuration [erts,kernel] Connection ID information kernel: Fix test case monitor_nodess_down_up Guarantee nodedown before nodeup messages
| * Merge branch 'rickard/global-fixes/24.3.3/OTP-17934' into ↵Rickard Green2022-05-251-0/+0
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rickard/global-fixes/25.0/OTP-17934 * rickard/global-fixes/24.3.3/OTP-17934: [kernel] Introduce connect_all kernel parameter [kernel] global fixes [kernel] Monitor nodeup/nodedown directly from global [kernel] Fix global group configuration [erts,kernel] Connection ID information kernel: Fix test case monitor_nodess_down_up Guarantee nodedown before nodeup messages
| | * Merge branch 'rickard/global-fixes/23.3.4/OTP-17934' into ↵Rickard Green2022-05-251-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rickard/global-fixes/24.3.3/OTP-17934 * rickard/global-fixes/23.3.4/OTP-17934: [kernel] Introduce connect_all kernel parameter [kernel] global fixes [kernel] Monitor nodeup/nodedown directly from global [kernel] Fix global group configuration [erts,kernel] Connection ID information kernel: Fix test case monitor_nodess_down_up Guarantee nodedown before nodeup messages
| | | * Merge branch 'rickard/global-fixes/22.3.4/OTP-17934' into ↵Rickard Green2022-05-251-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rickard/global-fixes/23.3.4/OTP-17934 * rickard/global-fixes/22.3.4/OTP-17934: [kernel] Introduce connect_all kernel parameter [kernel] global fixes [kernel] Monitor nodeup/nodedown directly from global [kernel] Fix global group configuration [erts,kernel] Connection ID information kernel: Fix test case monitor_nodess_down_up Guarantee nodedown before nodeup messages
| | | | * [erts,kernel] Connection ID informationRickard Green2022-05-031-0/+0
| | | | |
| | * | | Update primary bootstrapRickard Green2021-12-137-1/+1
| | | | |
* | | | | Improve the type analysisBjörn Gustavsson2022-05-261-30/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the type analysis modules in the Erlang compiler to be able to derive type information from relational operators in guards. Consider this function: f(A) when is_integer(A), 0 =< A, A =< 1000 -> A + 1. From the guard, a human can easily figure out that `A` must be an integer in the range 0 through 1000. The compiler in OTP 25 cannot: {test,is_integer,{f,1},[{x,0}]}. {test,is_ge,{f,1},[{tr,{x,0},{t_integer,any}},{integer,0}]}. {test,is_ge,{f,1},[{integer,1000},{tr,{x,0},{t_integer,any}}]}. {gc_bif,'+',{f,0},1,[{tr,{x,0},{t_integer,any}},{integer,1}],{x,0}}. With this commit, the compiler generates the following code: {test,is_integer,{f,1},[{x,0}]}. {test,is_ge,{f,1},[{tr,{x,0},{t_integer,any}},{integer,0}]}. {test,is_ge,{f,1},[{integer,1000},{tr,{x,0},{t_integer,{0,'+inf'}}}]}. {gc_bif,'+',{f,0},1,[{tr,{x,0},{t_integer,{0,1000}}},{integer,1}],{x,0}}. The compiler can now also derive better types for the following function: g(A) when 0 =< A, A =< 1000 -> A + 1. Since `A` is sandwiched between two numbers, `A` must be a number: {test,is_ge,{f,3},[{x,0},{integer,0}]}. {test,is_ge, {f,3}, [{integer,1000}, {tr,{x,0}, {t_union,{t_atom,any}, {t_list,any,any}, {t_number,{0,'+inf'}}, {t_tuple,0,false,#{}}, other}}]}. {gc_bif,'+',{f,0},1,[{tr,{x,0},{t_number,{0,1000}}},{integer,1}],{x,0}}. The JIT will generate slightly better code for known numeric operands than for unknown operands. As part of this commit, the following major changes were made: * Ranges for integers can now extend to infinity at one endpoint. That is, a range can go from negative infinity to some integer, or from some integer to positive infinity. That change allows the compiler to represent the type for the variable `A` when `A` is known to be an integer and `A >= 0` is true. * Changed the number type to also include a (potentially infinite) range. * Introduced an `other` type as a mean to construct a union type that is equivalent to the `any` type. That makes it possible to represent the type for `A` when all we know is that `A >= 0` (see the type in in the second `is_ge` test in the generated code for `g/1` above). * The API for the `beam_bounds` module was changed to avoid having to create functions with the same name as operators and BIFs. Having functions named `min` and `max` in the module would have been error-prone and painful.
* | | | Update primary bootstrapHenrik Nord2022-05-102-0/+0
| | | |
* | | | Update primary bootstrapCons T Åhs2022-05-037-0/+0
| | | |
* | | | Update primary bootstrapBjörn Gustavsson2022-04-2387-0/+0
| | | |
* | | | Update primary bootstrapBjörn Gustavsson2022-04-0512-0/+0
| | | |
* | | | Update deprecationsBjörn Gustavsson2022-03-281-0/+0
| | | |
* | | | Update primary bootstrapCons T Åhs2022-03-224-0/+0
| | | |
* | | | Update primary bootstrapCons T Åhs2022-03-219-0/+1
| | | |
* | | | Update primary bootstrapBjörn Gustavsson2022-03-1532-41/+68
| | | |
* | | | Update deprecationsJohn Högberg2022-02-211-0/+0
| | | |
* | | | Update primary bootstrapBjörn Gustavsson2022-02-1312-0/+0
| | | |
* | | | Update deprecationsJakub Witczak2022-02-111-0/+0
| | | |
* | | | Update deprecationsHans Nilsson2022-02-111-0/+0
| | | |
* | | | Update primary bootstrapBjörn Gustavsson2022-02-1145-0/+0
| | | |
* | | | Update deprecationsJakub Witczak2022-02-081-0/+0
| | | |
* | | | Update primary bootstrapBjörn Gustavsson2022-02-0287-2/+2
| | | |
* | | | Update deprecationsHans Nilsson2022-01-191-0/+0
| | | |
* | | | Update primary bootstrapJohn Högberg2022-01-1155-1/+1
| | | |