Skip to content

Threads/Pervasives: define [min_int] and [max_int] without assuming that integers are either 31 or 63 bits#35

Closed
hhugo wants to merge 1 commit intoocaml:trunkfrom
hhugo:fix_minmax
Closed

Threads/Pervasives: define [min_int] and [max_int] without assuming that integers are either 31 or 63 bits#35
hhugo wants to merge 1 commit intoocaml:trunkfrom
hhugo:fix_minmax

Conversation

@hhugo
Copy link
Contributor

@hhugo hhugo commented Apr 14, 2014

@bnoordhuis
Copy link

The commit log could use some love. Rule of thumb: the commit log should explain what changed and why in enough detail that you don't need to look at the actual commit to figure it out.

@hhugo
Copy link
Contributor Author

hhugo commented Apr 14, 2014

True. love is in the log..

@gasche
Copy link
Member

gasche commented Apr 14, 2014

Of course, I should have thought of this when modifying pervasives.ml in the first place. This duplication is silly.

Will fix.

@gasche
Copy link
Member

gasche commented Apr 15, 2014

Fixed in trunk.

@gasche gasche closed this Apr 15, 2014
@hhugo hhugo deleted the fix_minmax branch April 15, 2014 17:03
stedolan added a commit to stedolan/ocaml that referenced this pull request Nov 28, 2016
anmolsahoo25 pushed a commit to anmolsahoo25/ocaml that referenced this pull request Aug 25, 2020
Move release barrier to when all domains finish the minor gc
poechsel pushed a commit to poechsel/ocaml that referenced this pull request Jul 2, 2021
stedolan pushed a commit to stedolan/ocaml that referenced this pull request Sep 21, 2022
2118848 Ensure that (if c then E) counts E as tail position for typing (ocaml#42)
a937de9 Remove mode variables in ocamlc -i (ocaml#41)
865d039 Improve typing of local unboxed values (ocaml#26)
97be59d Backport PR 10090 (ocaml#39)
7613440 Allow use of `local_` to adjust regions for loops. (ocaml#35)

git-subtree-dir: ocaml
git-subtree-split: 2118848
sadiqj pushed a commit to sadiqj/ocaml that referenced this pull request Feb 21, 2023
This patch changes the local stack region behavior for the body of for loops,
and the body and condition of while loops.  Now, the user may request that no
new stack region is created for these positions, and instead local allocations
happen in the region containing the loop.

This is of limited use in isolation, but is useful with the coming "let mutable"
patch, where we want to allow locals in a loop body to "escape" to mutable
variables declared in the scope containing the loop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants