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

ruby-changes:35212

From: nobu <ko1@a...>
Date: Wed, 27 Aug 2014 08:24:59 +0900 (JST)
Subject: [ruby-changes:35212] nobu:r47294 (trunk): compile.c: assigned in REALLOC_N

nobu	2014-08-27 08:24:52 +0900 (Wed, 27 Aug 2014)

  New Revision: 47294

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

  Log:
    compile.c: assigned in REALLOC_N
    
    * compile.c (iseq_set_sequence): assigned in REALLOC_N, no further
      assignment.

  Modified files:
    trunk/compile.c
Index: compile.c
===================================================================
--- compile.c	(revision 47293)
+++ compile.c	(revision 47294)
@@ -1649,7 +1649,7 @@ iseq_set_sequence(rb_iseq_t *iseq, LINK_ https://github.com/ruby/ruby/blob/trunk/compile.c#L1649
     iseq->iseq_size = pos;
     iseq->stack_max = stack_max;
 
-    line_info_table = REALLOC_N(line_info_table, struct iseq_line_info_entry, k);
+    REALLOC_N(line_info_table, struct iseq_line_info_entry, k);
     iseq->line_info_table = line_info_table;
     iseq->line_info_size = k;
 

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

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