diff options
| author | Alasdair | 2020-05-22 13:07:45 +0100 |
|---|---|---|
| committer | Alasdair | 2020-05-22 13:13:13 +0100 |
| commit | eb79bb03aecea1d53491277744eebd9f013fd0b7 (patch) | |
| tree | 50572a8e0eae4ab072c1012233cc0d2393453356 /opam | |
| parent | 2f3dae605081e8d0f7005d127c0462ee71d1424f (diff) | |
Fix atomicity of register field writes
Previous merge commit caused some code that was generating
register.field = value
to instead generate
temp = register
temp.field = value
register = temp
This was caused by rewriter changes affecting the ANF form, and the Jib
compilation was sensitive to small changes in the ANF form when
compiling l-expressions. Rather than applying a band-aid fix in the
rewriter this commit re-factors the ANF translation of l-expressions to
ensure that the jib compilation is more robust and able to consistently
generate the correct l-expressions without introducing additional
read-modify-write expressions in the code.
Diffstat (limited to 'opam')
0 files changed, 0 insertions, 0 deletions
