mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +02:00
Remove return opcode
* libguile/vm-engine.c (return): Remove opcode.
This commit is contained in:
parent
c984432f60
commit
95855087ec
1 changed files with 3 additions and 8 deletions
|
@ -736,15 +736,10 @@ VM_NAME (scm_i_thread *thread, struct scm_vm *vp,
|
|||
NEXT (2);
|
||||
}
|
||||
|
||||
/* return src:24
|
||||
*
|
||||
* Return a value.
|
||||
*/
|
||||
VM_DEFINE_OP (8, return, "return", OP1 (X8_S24))
|
||||
VM_DEFINE_OP (8, unused_8, NULL, NOP)
|
||||
{
|
||||
scm_t_uint32 src;
|
||||
UNPACK_24 (op, src);
|
||||
RETURN_ONE_VALUE (SP_REF (src));
|
||||
vm_error_bad_instruction (op);
|
||||
abort (); /* never reached */
|
||||
}
|
||||
|
||||
/* return-values nlocals:24
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue