Change SCM_PACK_RTL macros to SCM_PACK_OP / SCM_PACK_OP_ARG

* libguile/instructions.h: Guard in BUILDING_LIBGUILE.
  (SCM_PACK_OP_24):
  (SCM_PACK_OP_8_8_8):
  (SCM_PACK_OP_8_16):
  (SCM_PACK_OP_16_8):
  (SCM_PACK_OP_12_12): Rename from SCM_PACK_RTL_*, and splice in the
  opcode.
  (SCM_PACK_OP_ARG_8_24): New helper.

* libguile/vm.c:
* libguile/gsubr.c:
* libguile/foreign.c:
* libguile/control.c:
* libguile/continuations.c: Adapt.
This commit is contained in:
Andy Wingo 2013-11-19 21:04:24 +01:00
commit 095100bbdb
6 changed files with 48 additions and 43 deletions

View file

@ -59,7 +59,7 @@ scm_i_prompt_pop_abort_args_x (SCM vm)
static const scm_t_uint32 compose_continuation_code[] =
{
SCM_PACK_RTL_24 (scm_op_compose_continuation, 0)
SCM_PACK_OP_24 (compose_continuation, 0)
};