ruby-changes:3058
From: ko1@a...
Date: 24 Dec 2007 04:03:44 +0900
Subject: [ruby-changes:3058] ko1 - Ruby:r14550 (trunk): * cont.c, vm.h: fix to support sparc machine.
ko1 2007-12-24 04:03:23 +0900 (Mon, 24 Dec 2007)
New Revision: 14550
Modified files:
trunk/ChangeLog
trunk/cont.c
trunk/vm.h
Log:
* cont.c, vm.h: fix to support sparc machine.
a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm.h?r1=14550&r2=14549
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/cont.c?r1=14550&r2=14549
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14550&r2=14549
Index: ChangeLog
===================================================================
--- ChangeLog (revision 14549)
+++ ChangeLog (revision 14550)
@@ -1,3 +1,8 @@
+Mon Dec 24 03:57:28 2007 Koichi Sasada <ko1@a...>
+
+ * cont.c, vm.h: fix to support sparc machine.
+ a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
+
Mon Dec 24 03:35:19 2007 Koichi Sasada <ko1@a...>
* common.mk: remove additional "-".
Index: cont.c
===================================================================
--- cont.c (revision 14549)
+++ cont.c (revision 14550)
@@ -129,6 +129,7 @@
cont->machine_stack = ALLOC_N(VALUE, size);
}
+ FLUSH_REGISTER_WINDOWS;
MEMCPY(cont->machine_stack, cont->machine_stack_src, VALUE, size);
#ifdef __ia64
@@ -256,6 +257,7 @@
}
#endif
if (cont->machine_stack_src) {
+ FLUSH_REGISTER_WINDOWS;
MEMCPY(cont->machine_stack_src, cont->machine_stack,
VALUE, cont->machine_stack_size);
}
Index: vm.h
===================================================================
--- vm.h (revision 14549)
+++ vm.h (revision 14550)
@@ -118,14 +118,10 @@
#define ELABEL(x) INSN_ELABEL_##x
#define LABEL_PTR(x) &&LABEL(x)
-#define INSN_ENTRY_SIG(insn) \
- asm volatile ( "; #**************************************************\n" \
- "\t; #[start] " # insn "\n") \
+#define INSN_ENTRY_SIG(insn)
-#define INSN_DISPATCH_SIG(insn) \
- asm volatile ( "; #[end ] " # insn "\n"\
- "\t; #==================================================\n") \
+#define INSN_DISPATCH_SIG(insn)
#define INSN_ENTRY(insn) \
LABEL(insn): \
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml