From ba6e0752b02b41b24e6bc76079c0e1589e63014b Mon Sep 17 00:00:00 2001
From: usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue, 5 Feb 2008 15:54:33 +0000
Subject: 	* insns.def (adjuststack): never use INC_SP with minus value
 because 	  some compilers cannot deal it collectly. use DEC_SP instead.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 insns.def | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index 755a7d3fa2..a4c56159a6 100644
--- a/insns.def
+++ b/insns.def
@@ -306,6 +306,7 @@ putnil
 ()
 (VALUE val)
 {
+fprintf(stderr, "[DEBUG B] reg_cfp:%p reg_cfp->sp:%p\n", reg_cfp, reg_cfp->sp);
     val = Qnil;
 }
 
@@ -707,7 +708,7 @@ adjuststack
 (...)
 (...) // inc -= n
 {
-    INC_SP(-n);
+    DEC_SP(n);
 }
 
 
-- 
cgit v1.2.3

