[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 12/27: Remove return opcode
From: |
Andy Wingo |
Subject: |
[Guile-commits] 12/27: Remove return opcode |
Date: |
Wed, 11 Nov 2015 11:39:10 +0000 |
wingo pushed a commit to branch master
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] 15/27: Reflection support for unboxed f64 slots, (continued)
- [Guile-commits] 15/27: Reflection support for unboxed f64 slots, Andy Wingo, 2015/11/11
- [Guile-commits] 06/27: return-values opcode resets the frame, Andy Wingo, 2015/11/11
- [Guile-commits] 20/27: Scalar replacement for f64->scm, Andy Wingo, 2015/11/11
- [Guile-commits] 21/27: Add fadd, fsub, fmul, fdiv instructions, Andy Wingo, 2015/11/11
- [Guile-commits] 23/27: Fix slot representation computation for fadd, fmul, etc, Andy Wingo, 2015/11/11
- [Guile-commits] 19/27: bv-{f32, f64}-{ref, set!} operate on raw f64 values, Andy Wingo, 2015/11/11
- [Guile-commits] 25/27: Better f64 unboxing for loop vars that might flow to $ktail, Andy Wingo, 2015/11/11
- [Guile-commits] 17/27: Add VM ops to pack and unpack raw f64 values., Andy Wingo, 2015/11/11
- [Guile-commits] 03/27: CSE can run on first-order CPS, Andy Wingo, 2015/11/11
- [Guile-commits] 16/27: Stack slots can hold a double, Andy Wingo, 2015/11/11
- [Guile-commits] 12/27: Remove return opcode,
Andy Wingo <=
- [Guile-commits] 09/27: Always emit return-values, Andy Wingo, 2015/11/11
- [Guile-commits] 08/27: Replace return primcalls with $values, Andy Wingo, 2015/11/11
- [Guile-commits] 24/27: The compiler can unbox float64 loop variables, Andy Wingo, 2015/11/11
- [Guile-commits] 26/27: Remove debug printout in specialize-numbers, Andy Wingo, 2015/11/11
- [Guile-commits] 18/27: Type inference distinguishes between untagged and tagged flonums, Andy Wingo, 2015/11/11
- [Guile-commits] 02/27: Revert "Bootstrap build doesn't have to expand CPS optimizations", Andy Wingo, 2015/11/11