Compute GC_CONS arguments just once
authorIvan Maidanski <ivmai@mail.ru>
Sat, 30 Jun 2018 04:37:54 +0000 (07:37 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 30 Jun 2018 04:37:54 +0000 (07:37 +0300)
commit0553eb04299636f9fbaefb33e6c9ea4377ee6e03
tree2c5fbf85121a36526f693c791f487528a08f039a
parent8adb34b4922b59af8b11f7b7a3b02bbd07c075b8
Compute GC_CONS arguments just once
(fix of commit 8eb6f8d)

* include/gc_inline.h (GC_CONS): Declare l and r local variables;
compute first and second expression even in case of
GC_MALLOC_WORDS_KIND failure; pass l and r to GC_reachable_here (instead
of first and second).
include/gc_inline.h