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

ruby-changes:45548

From: nobu <ko1@a...>
Date: Mon, 13 Feb 2017 22:08:48 +0900 (JST)
Subject: [ruby-changes:45548] nobu:r57621 (trunk): ruby.h: remove comment

nobu	2017-02-13 22:08:44 +0900 (Mon, 13 Feb 2017)

  New Revision: 57621

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

  Log:
    ruby.h: remove comment
    
    * include/ruby/ruby.h (RB_GC_GUARD): remove comment unsupported by
      Solaris AS.

  Modified files:
    trunk/include/ruby/ruby.h
Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 57620)
+++ include/ruby/ruby.h	(revision 57621)
@@ -538,7 +538,7 @@ static inline int rb_type(VALUE obj); https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L538
 #define RB_GC_GUARD(v) \
     (*__extension__ ({ \
 	volatile VALUE *rb_gc_guarded_ptr = &(v); \
-	__asm__("### RB_GC_GUARD("#v")" : : "m"(rb_gc_guarded_ptr)); \
+	__asm__("" : : "m"(rb_gc_guarded_ptr)); \
 	rb_gc_guarded_ptr; \
     }))
 #elif defined _MSC_VER

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

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