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

ruby-changes:40180

From: nobu <ko1@a...>
Date: Sat, 24 Oct 2015 08:37:50 +0900 (JST)
Subject: [ruby-changes:40180] nobu:r52261 (trunk): common.mk: vm_call_iseq_optimized.inc

nobu	2015-10-24 08:37:44 +0900 (Sat, 24 Oct 2015)

  New Revision: 52261

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

  Log:
    common.mk: vm_call_iseq_optimized.inc
    
    * common.mk (incs): generate vm_call_iseq_optimized.inc too.

  Modified files:
    trunk/common.mk
    trunk/tool/mk_call_iseq_optimized.rb
Index: common.mk
===================================================================
--- common.mk	(revision 52260)
+++ common.mk	(revision 52261)
@@ -786,7 +786,8 @@ srcs-enc: $(ENC_MK) https://github.com/ruby/ruby/blob/trunk/common.mk#L786
 
 all-incs: incs {$(VPATH)}encdb.h {$(VPATH)}transdb.h
 incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}known_errors.inc \
-      $(srcdir)/revision.h $(REVISION_H) enc/unicode/name2ctype.h enc/jis/props.h \
+      {$(VPATH)}/vm_call_iseq_optimized.inc $(srcdir)/revision.h \
+      $(REVISION_H) enc/unicode/name2ctype.h enc/jis/props.h \
       {$(VPATH)}id.h {$(VPATH)}probes.dmyh
 
 insns: $(INSNS)
@@ -821,7 +822,7 @@ known_errors.inc: $(srcdir)/template/kno https://github.com/ruby/ruby/blob/trunk/common.mk#L822
 
 vm_call_iseq_optimized.inc: $(srcdir)/tool/mk_call_iseq_optimized.rb
 	$(ECHO) generating $@
-	$(Q) $(BASERUBY) $(srcdir)/tool/mk_call_iseq_optimized.rb > vm_call_iseq_optimized.inc
+	$(Q) $(BASERUBY) $(srcdir)/tool/mk_call_iseq_optimized.rb > $@
 
 $(MINIPRELUDE_C): $(COMPILE_PRELUDE)
 	$(ECHO) generating $@
Index: tool/mk_call_iseq_optimized.rb
===================================================================
--- tool/mk_call_iseq_optimized.rb	(revision 52260)
+++ tool/mk_call_iseq_optimized.rb	(revision 52261)
@@ -15,7 +15,7 @@ L = (1..6) https://github.com/ruby/ruby/blob/trunk/tool/mk_call_iseq_optimized.rb#L15
 def fname param, local
   "vm_call_iseq_setup_normal_0start_#{param}params_#{local}locals"
 end
-    
+
 P.each{|param|
   L.each{|local|
     puts <<EOS

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

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