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

ruby-changes:46281

From: ko1 <ko1@a...>
Date: Tue, 18 Apr 2017 21:31:05 +0900 (JST)
Subject: [ruby-changes:46281] ko1:r58394 (trunk): fix compile error.

ko1	2017-04-18 21:30:59 +0900 (Tue, 18 Apr 2017)

  New Revision: 58394

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

  Log:
    fix compile error.
    
    * insns.def (trace): use cast `flag` to pass compilation with clang on MacOSX.

  Modified files:
    trunk/insns.def
Index: insns.def
===================================================================
--- insns.def	(revision 58393)
+++ insns.def	(revision 58394)
@@ -732,7 +732,7 @@ trace https://github.com/ruby/ruby/blob/trunk/insns.def#L732
 {
     rb_event_flag_t flag = (rb_event_flag_t)nf;
 
-    vm_dtrace(nf, th);
+    vm_dtrace(flag, th);
     EXEC_EVENT_HOOK(th, flag, GET_SELF(), 0, 0, 0 /* id and klass are resolved at callee */,
 		    (flag & (RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN)) ? TOPN(0) : Qundef);
 }

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

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