| Commit message (Collapse) | Author | Age |
|\ |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| | |
Essentially, we do not reconstruct the named_context_val when the rel_context
is empty.
|
| |
| |
| |
| |
| | |
Before computing the whd_evar-form of the arguments of an evar, we first
check that it is indeed defined.
|
| | |
|
| | |
|
| |
| |
| |
| | |
"Context.{Rel,Named}.fold_constr"
|
|/
|
|
|
|
|
|
|
|
|
| |
mainly concerning referring to "Context.{Rel,Named}.get_{id,value,type}" functions.
If multiple modules define a function with a same name, e.g.:
Context.{Rel,Named}.get_type
those calls were prefixed with a corresponding prefix
to make sure that it is obvious which function is being called.
|
|
|
|
| |
This saves a quadratic allocation by replacing arrays with maps.
|
|
|
|
|
| |
In addition to sharing, we also delay the computation of the environment in
a by-need fashion.
|
| |
|
|
|
|
|
|
|
| |
We remove in particular a dubious use of an environment in fresh name
generation. The code was using the wrong environment in a function only
depending on the rel context which was resetted most of the time. This
might change the generated names in extremely rare occurences.
|
| |
|
|
|
|
|
|
| |
module)
For the moment, there is an Error module in compilers-lib/ocamlbytecomp.cm(x)a
|
|
|
|
| |
We do not allocate a closure in the main loop, and do so only when needed.
|
|
|
|
|
| |
We do not check for presence of a variable in a global definition when we know
that this variable was not present in the section.
|
| |
|
| |
|
|
|