[前][次][番号順一覧][スレッド一覧]

ruby-changes:45719

From: nobu <ko1@a...>
Date: Tue, 7 Mar 2017 10:07:08 +0900 (JST)
Subject: [ruby-changes:45719] nobu:r57792 (trunk): fix macro name

nobu	2017-03-07 10:07:03 +0900 (Tue, 07 Mar 2017)

  New Revision: 57792

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57792

  Log:
    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.

  Modified files:
    trunk/tool/instruction.rb
Index: tool/instruction.rb
===================================================================
--- tool/instruction.rb	(revision 57791)
+++ tool/instruction.rb	(revision 57792)
@@ -700,7 +700,7 @@ class RubyVM https://github.com/ruby/ruby/blob/trunk/tool/instruction.rb#L700
 
       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 https://github.com/ruby/ruby/blob/trunk/tool/instruction.rb#L850
       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]};"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]