summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--insns.def19
1 files changed, 0 insertions, 19 deletions
diff --git a/insns.def b/insns.def
index 5704bf44e7..aab53e3ff7 100644
--- a/insns.def
+++ b/insns.def
@@ -592,25 +592,6 @@ swap
/* none */
}
-/* reverse stack top N order. */
-DEFINE_INSN
-reverse
-(rb_num_t n)
-(...)
-(...)
-// attr rb_snum_t sp_inc = 0;
-{
- rb_num_t i;
- VALUE *sp = STACK_ADDR_FROM_TOP(n);
-
- for (i=0; i<n/2; i++) {
- VALUE v0 = sp[i];
- VALUE v1 = TOPN(i);
- sp[i] = v1;
- TOPN(i) = v0;
- }
-}
-
/* for stack caching. */
DEFINE_INSN_IF(STACK_CACHING)
reput