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

ruby-changes:49419

From: mame <ko1@a...>
Date: Mon, 1 Jan 2018 18:30:13 +0900 (JST)
Subject: [ruby-changes:49419] mame:r61535 (trunk): iseq.c: fix build error when VM_CHECK_MODE is enabled

mame	2018-01-01 18:30:06 +0900 (Mon, 01 Jan 2018)

  New Revision: 61535

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

  Log:
    iseq.c: fix build error when VM_CHECK_MODE is enabled
    
    Follow up of r61534.  Sorry.

  Modified files:
    trunk/iseq.c
Index: iseq.c
===================================================================
--- iseq.c	(revision 61534)
+++ iseq.c	(revision 61535)
@@ -1299,7 +1299,7 @@ static const struct iseq_insn_info_entry https://github.com/ruby/ruby/blob/trunk/iseq.c#L1299
 get_insn_info_linear_search(const rb_iseq_t *iseq, size_t pos)
 {
     size_t i = 0, size = iseq->body->insns_info.size;
-    const struct iseq_insn_info_entry *insns_info = iseq->body->insns_info;
+    const struct iseq_insn_info_entry *insns_info = iseq->body->insns_info.body;
     const int debug = 0;
 
     if (debug) {

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

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