Parenthesize and type `SCM_FRAME' macros; check layout of `scm_vm_frame'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 22 Jan 2012 22:20:50 +0000 (23:20 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 22 Jan 2012 22:23:44 +0000 (23:23 +0100)
commit0fc9040fa248c7d964966a568749d1398a457cd8
tree77f8d07f8c48a3eec416c73df91e65cba234d4a6
parent17cc6e40a9ba5db9b0ff003a9a277ba43a72a067
Parenthesize and type `SCM_FRAME' macros; check layout of `scm_vm_frame'.

* libguile/frames.c: Add compile-time assertions on the layout of
  `struct scm_vm_frame'.
  (RELOC): Parenthesize and type VAL.

* libguile/frames.h (SCM_FRAME_STRUCT): Write in terms of
  `SCM_FRAME_DATA_ADDRESS'.
  (SCM_FRAME_DATA_ADDRESS): Parenthesize and type FP.
  (SCM_FRAME_SET_DYNAMIC_LINK): Write in terms of
  `SCM_FRAME_DYNAMIC_LINK'.

* libguile/vm.c (RELOC): Parenthesize and type SCM_P.
libguile/frames.c
libguile/frames.h
libguile/vm.c