diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-07 01:07:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-07 01:07:03 +0000 |
commit | 4e91e024948e6d7736abd95f287628afa2ceee6c (patch) | |
tree | a4cf19716ce35b0f80fdd18454b97036b4cadd88 /tool | |
parent | 5800e201817a7853ee7af2c63e01ad5f38fb9a4a (diff) | |
download | ruby-4e91e024948e6d7736abd95f287628afa2ceee6c.tar.gz |
fix macro name
* tool/instruction.rb (VmBodyGenerator#make_header_prepare_stack):
REG_CFP has been prefixed with VM_ at r56609. [Bug #12527]
* tool/instruction.rb (VmBodyGenerator#make_footer_stack_val):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/instruction.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/instruction.rb b/tool/instruction.rb index 57dc923005..77113b0827 100755 --- a/tool/instruction.rb +++ b/tool/instruction.rb @@ -700,7 +700,7 @@ class RubyVM n = 0 push_ba.each {|pushs| n += pushs.length} - commit " CHECK_VM_STACK_OVERFLOW_FOR_INSN(REG_CFP, #{n});" if n > 0 + commit " CHECK_VM_STACK_OVERFLOW_FOR_INSN(VM_REG_CFP, #{n});" if n > 0 push_ba.each{|pushs| pushs.each{|r| commit " PUSH(SCREG(#{r}));" @@ -850,7 +850,7 @@ class RubyVM each_footer_stack_val(insn){|v| n += 1 unless v[2] } - commit " CHECK_VM_STACK_OVERFLOW_FOR_INSN(REG_CFP, #{n});" if n > 0 + commit " CHECK_VM_STACK_OVERFLOW_FOR_INSN(VM_REG_CFP, #{n});" if n > 0 each_footer_stack_val(insn){|v| if v[2] commit " SCREG(#{v[2]}) = #{v[1]};" |