summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-30 07:46:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-30 07:46:44 +0000
commitd06f74d736311f128f5303a995cf01071531a6f4 (patch)
treedb64c20e47e7c48407b1ab649cd51b3e232561bb /tool
parent7259c3f2e005cf2e5182796d3589b5032b7b58c4 (diff)
* insns.def, tool/instruction.rb: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/instruction.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/instruction.rb b/tool/instruction.rb
index 7ecc84b..4e60f04 100644
--- a/tool/instruction.rb
+++ b/tool/instruction.rb
@@ -63,7 +63,7 @@ class RubyVM
rets.any?{|t, v| v == '...'})
# user definision
raise "no sp increase definition" if @sp_inc.nil?
- ret = "int inc = 0;\n"
+ ret = "rb_num_t inc = 0;\n"
@opes.each_with_index{|(t, v), i|
if t == 'rb_num_t' && ((re = /\b#{v}\b/n) =~ @sp_inc ||