Skip to content
Success

Changes

Summary

  1. [minor] printlambda: print the 'tailcall' attribute in the same style as others (commit: 792deb1) (details)
  2. [refactoring] gives tailcall attributes a more standard structure (commit: d260a79) (details)
Commit 792deb120f19054192298805b7b8e63dfc605f73 by gabriel.scherer
[minor] printlambda: print the 'tailcall' attribute in the same style as others
(commit: 792deb1)
The file was modifiedlambda/printlambda.ml (diff)
Commit d260a79416a9ace99357d81747c3677fced43319 by gabriel.scherer
[refactoring] gives tailcall attributes a more standard structure

We want to start allowing more information in the payload of
[@tailcall] attributes (currently no payload is supported), for
example we could consider using [@tailcall false] to ask the code
generator to disable a tail call.

A first required step in this direction is to use a custom datatype to
represent the tail-call attribute, instead of a boolean. This is
consistent with the other application-site
attributes (inline_attribute, specialise_attribute, local_attribute),
so it makes the code more regular -- but the change itself is
boilerplate-y.
(commit: d260a79)
The file was modifiedlambda/simplif.ml (diff)
The file was modifiedlambda/translmod.ml (diff)
The file was modifiedlambda/matching.ml (diff)
The file was modifiedmiddle_end/closure/closure.ml (diff)
The file was modifiedChanges (diff)
The file was modifiedlambda/translattribute.ml (diff)
The file was modifiedlambda/translattribute.mli (diff)
The file was modifiedlambda/translcore.ml (diff)
The file was modifiedlambda/translcore.mli (diff)
The file was modifiedlambda/printlambda.ml (diff)
The file was modifiedlambda/lambda.ml (diff)
The file was modifiedmiddle_end/flambda/closure_conversion.ml (diff)
The file was modifiedbytecomp/bytegen.ml (diff)
The file was modifiedlambda/translclass.ml (diff)
The file was modifiedlambda/lambda.mli (diff)