[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 13/21: Remove return opcode
From: |
Andy Wingo |
Subject: |
[Guile-commits] 13/21: Remove return opcode |
Date: |
Wed, 28 Oct 2015 22:31:19 +0000 |
wingo pushed a commit to branch wip-2.1.2
in repository guile.
commit 95855087ec3d04ec0980cc2cdcc283c4c7bc20b0
Author: Andy Wingo <address@hidden>
Date: Wed Oct 28 13:11:40 2015 +0000
Remove return opcode
* libguile/vm-engine.c (return): Remove opcode.
---
libguile/vm-engine.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c
index 45faa14..7919c46 100644
--- a/libguile/vm-engine.c
+++ b/libguile/vm-engine.c
@@ -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
- [Guile-commits] 05/21: Run CSE to clean up after closure conversion, (continued)
- [Guile-commits] 05/21: Run CSE to clean up after closure conversion, Andy Wingo, 2015/10/28
- [Guile-commits] 03/21: Revert "Bootstrap build doesn't have to expand CPS optimizations", Andy Wingo, 2015/10/28
- [Guile-commits] 06/21: Fix slot-allocation to make 'return' not need to alloc-frame, Andy Wingo, 2015/10/28
- [Guile-commits] 08/21: Don't emit redundant reset-frame before return, Andy Wingo, 2015/10/28
- [Guile-commits] 07/21: return-values opcode resets the frame, Andy Wingo, 2015/10/28
- [Guile-commits] 11/21: rtl.test uses return-values, Andy Wingo, 2015/10/28
- [Guile-commits] 10/21: Always emit return-values, Andy Wingo, 2015/10/28
- [Guile-commits] 12/21: Remove use of return in disassembler.scm, Andy Wingo, 2015/10/28
- [Guile-commits] 04/21: CSE can run on first-order CPS, Andy Wingo, 2015/10/28
- [Guile-commits] 09/21: Replace return primcalls with $values, Andy Wingo, 2015/10/28
- [Guile-commits] 13/21: Remove return opcode,
Andy Wingo <=
- [Guile-commits] 14/21: Treat tail $values as generating lazy allocations, Andy Wingo, 2015/10/28
- [Guile-commits] 17/21: Stack slots can hold a double, Andy Wingo, 2015/10/28
- [Guile-commits] 18/21: Add VM ops to pack and unpack raw f64 values., Andy Wingo, 2015/10/28
- [Guile-commits] 21/21: Scalar replacement for f64->scm, Andy Wingo, 2015/10/28
- [Guile-commits] 20/21: bv-f32-set!, bv-f64-set! take unboxed args, Andy Wingo, 2015/10/28
- [Guile-commits] 15/21: VM support for raw slots, Andy Wingo, 2015/10/28
- [Guile-commits] 19/21: bv-f32-ref and bv-f64-ref return raw f64 values, Andy Wingo, 2015/10/28
- [Guile-commits] 16/21: Reflection support for unboxed f64 slots, Andy Wingo, 2015/10/28