summaryrefslogtreecommitdiff
path: root/tool/instruction.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/instruction.rb')
-rwxr-xr-xtool/instruction.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/instruction.rb b/tool/instruction.rb
index 1a09ab3..088505d 100755
--- a/tool/instruction.rb
+++ b/tool/instruction.rb
@@ -704,7 +704,7 @@ class RubyVM
end
re = /\b#{var}\b/n
- if re =~ insn.body or re =~ insn.sp_inc or insn.rets.any?{|t, v| re =~ v}
+ if re =~ insn.body or re =~ insn.sp_inc or insn.rets.any?{|t, v| re =~ v} or re =~ 'ic'
ops << " #{type} #{var} = (#{type})GET_OPERAND(#{i+1});"
end
n += 1