diff options
| author | Greta Yorsh <45005955+gretay-js@users.noreply.github.com> | 2019-06-24 14:18:37 +0100 |
|---|---|---|
| committer | Leo White <leo@lpw25.net> | 2019-06-24 14:18:37 +0100 |
| commit | d8b6a1713b50132fc96b6cda40c8aad4ec4f8008 (patch) | |
| tree | 260c2aa2b4aa6889db2262dd31b1f3001c866711 /Changes | |
| parent | 7e4818c4b13863a3f7995da029f8d13c98991a8c (diff) | |
| download | ocaml-d8b6a1713b50132fc96b6cda40c8aad4ec4f8008.tar.gz | |
Add pseudo-instruction `Ladjust_trap_depth` (#2322)
Ladjust_trap_depth replaces dummy Lpushtrap generated in linearize of
Iexit to notify assembler generation about updates to the
stack. Ladjust_trap_depth is used to keep the virtual stack pointer in
sync and emit dwarf information, without emitting any assembly
instructions. It therefore avoids generating dead code.
This patch is extract from PR1482 @lthls
Diffstat (limited to 'Changes')
| -rw-r--r-- | Changes | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,10 @@ Working version - #8672: Optimise Switch code generation on booleans. (Stephen Dolan, review by Pierre Chambart) +- #2322: Add pseudo-instruction `Ladjust_trap_depth` to replace + dummy Lpushtrap generated in linearize + (Greta Yorsh and Vincent Laviron, review by Xavier Leroy) + ### Runtime system: - #8619: Ensure Gc.minor_words remains accurate after a GC. |
