[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 03/13: Remove dedicated current-module instruction.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 03/13: Remove dedicated current-module instruction. |
Date: |
Wed, 27 Jun 2018 14:00:11 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 85ab5f02995c646ca444cacd1803060e4d230e1f
Author: Andy Wingo <address@hidden>
Date: Wed Jun 27 15:06:40 2018 +0200
Remove dedicated current-module instruction.
* libguile/vm-engine.c (current-module): Remove instruction.
---
libguile/vm-engine.c | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c
index 7988536..357aceb 100644
--- a/libguile/vm-engine.c
+++ b/libguile/vm-engine.c
@@ -1643,22 +1643,7 @@ VM_NAME (scm_thread *thread, jmp_buf *registers, int
resume)
- /* current-module dst:24
- *
- * Store the current module in DST.
- */
- VM_DEFINE_OP (64, current_module, "current-module", OP1 (X8_S24) | OP_DST)
- {
- uint32_t dst;
-
- UNPACK_24 (op, dst);
-
- SYNC_IP ();
- SP_SET (dst, scm_current_module ());
-
- NEXT (1);
- }
-
+ VM_DEFINE_OP (64, unused_64, NULL, NOP)
VM_DEFINE_OP (65, unused_65, NULL, NOP)
VM_DEFINE_OP (66, unused_66, NULL, NOP)
VM_DEFINE_OP (67, unused_67, NULL, NOP)
- [Guile-commits] 04/13: Intrinsic for "prompt", (continued)
- [Guile-commits] 04/13: Intrinsic for "prompt", Andy Wingo, 2018/06/27
- [Guile-commits] 07/13: Refactor handling of active VM registers, Andy Wingo, 2018/06/27
- [Guile-commits] 05/13: bind-rest inst uses cons-rest intrinsic, Andy Wingo, 2018/06/27
- [Guile-commits] 11/13: Minor optimizations to debug hook dispatch, Andy Wingo, 2018/06/27
- [Guile-commits] 02/13: Compile current-module as intrinsic call, Andy Wingo, 2018/06/27
- [Guile-commits] 12/13: Microoptimizations to hook dispatch, Andy Wingo, 2018/06/27
- [Guile-commits] 13/13: Refactor hook dispatch in VM, Andy Wingo, 2018/06/27
- [Guile-commits] 09/13: Intrinsics take registers from thread, Andy Wingo, 2018/06/27
- [Guile-commits] 06/13: Use CALL_INTRINSICS helper in VM, Andy Wingo, 2018/06/27
- [Guile-commits] 08/13: Minor scm_thread refactoring, Andy Wingo, 2018/06/27
- [Guile-commits] 03/13: Remove dedicated current-module instruction.,
Andy Wingo <=
- [Guile-commits] 10/13: Remove "resume" arg from vm engine, Andy Wingo, 2018/06/27