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

ruby-changes:55447

From: k0kubun <ko1@a...>
Date: Sun, 21 Apr 2019 12:35:11 +0900 (JST)
Subject: [ruby-changes:55447] k0kubun:r67667 (trunk): Revert "Try dropping const qualifier to suppress msiwn warning"

k0kubun	2019-04-21 12:35:07 +0900 (Sun, 21 Apr 2019)

  New Revision: 67667

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

  Log:
    Revert "Try dropping const qualifier to suppress msiwn warning"
    
    This reverts commit b023c1cc07b2fd6e201bf3aeb4a1df9af3854888.
    
    in favor of r67666.

  Modified files:
    trunk/mjit_compile.c
Index: mjit_compile.c
===================================================================
--- mjit_compile.c	(revision 67666)
+++ mjit_compile.c	(revision 67667)
@@ -48,7 +48,7 @@ struct compile_status { https://github.com/ruby/ruby/blob/trunk/mjit_compile.c#L48
     // Mutated optimization levels
     struct rb_mjit_compile_info *compile_info;
     // If `inlined_iseqs[pos]` is not NULL, `mjit_compile_body` tries to inline ISeq there.
-    struct rb_iseq_constant_body **inlined_iseqs;
+    const struct rb_iseq_constant_body **inlined_iseqs;
     struct inlined_call_context inline_context;
 };
 

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

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