]> git.eshelyaron.com Git - emacs.git/commit
* Fix load logic for the reloading CU case (bug#41754)
authorAndrea Corallo <andcor03@e112547.nice.arm.com>
Mon, 8 Jun 2020 15:21:03 +0000 (17:21 +0200)
committerAndrea Corallo <akrl@sdf.org>
Mon, 8 Jun 2020 20:51:24 +0000 (21:51 +0100)
commit4784bcc96b32f2fc796c7067d2a6c8ddf00f4242
tree84695bde1249f66c2b70c5aadef9ef21d3e2d2d0
parent3d3737b90ab4dcded11ec716f92b9fa8a5c3fbeb
* Fix load logic for the reloading CU case (bug#41754)

* src/comp.c (load_comp_unit): When swapping the compilation unit
abandoning the new one for the original do not forget to set its
loaded_once field to true because is in use by
`comp--register-lambda'.
(Fcomp__register_lambda): Add sanity a check to spot
early if we are trying to load the same lambda twice.
src/comp.c