summaryrefslogtreecommitdiff
path: root/tool/instruction.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/instruction.rb')
-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 ||