1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-09 23:40:29 +02:00

fix to variable-bound? instruction prototype

* libguile/vm-i-system.c (variable-bound?): Correctly declare as popping
  one item.
This commit is contained in:
Andy Wingo 2010-01-27 21:47:01 +01:00
parent 80e22004bd
commit 0515661235

View file

@ -322,7 +322,7 @@ VM_DEFINE_INSTRUCTION (26, variable_ref, "variable-ref", 0, 1, 1)
NEXT; NEXT;
} }
VM_DEFINE_INSTRUCTION (27, variable_bound, "variable-bound?", 0, 0, 1) VM_DEFINE_INSTRUCTION (27, variable_bound, "variable-bound?", 0, 1, 1)
{ {
if (VARIABLE_BOUNDP (*sp)) if (VARIABLE_BOUNDP (*sp))
*sp = SCM_BOOL_T; *sp = SCM_BOOL_T;