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

ruby-changes:31169

From: nobu <ko1@a...>
Date: Fri, 11 Oct 2013 08:56:20 +0900 (JST)
Subject: [ruby-changes:31169] nobu:r43248 (trunk): vm_trace.c: use macro

nobu	2013-10-11 08:56:15 +0900 (Fri, 11 Oct 2013)

  New Revision: 43248

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

  Log:
    vm_trace.c: use macro
    
    * vm_trace.c (rb_postponed_job_flush): use dedicated macro.

  Modified files:
    trunk/vm_trace.c
Index: vm_trace.c
===================================================================
--- vm_trace.c	(revision 43247)
+++ vm_trace.c	(revision 43248)
@@ -1456,7 +1456,7 @@ rb_postponed_job_flush(rb_vm_t *vm) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L1456
     save.index = index;
     save.interrupt_mask = cur_th->interrupt_mask;
 
-    cur_th->interrupt_mask |= POSTPONED_JOB_INTERRUPT_MASK;
+    RUBY_VM_SET_POSTPONED_JOB_INTERRUPT(cur_th);
     TH_PUSH_TAG(cur_th);
     EXEC_TAG();
     /* ignore all jumps, just continue */

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

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