ruby-changes:13714
From: naruse <ko1@a...>
Date: Tue, 27 Oct 2009 09:29:24 +0900 (JST)
Subject: [ruby-changes:13714] Ruby:r25504 (trunk): * vm_exec.c (DECL_SC_REG): use __clang__.
naruse 2009-10-27 09:29:06 +0900 (Tue, 27 Oct 2009) New Revision: 25504 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25504 Log: * vm_exec.c (DECL_SC_REG): use __clang__. Modified files: trunk/ChangeLog trunk/vm_exec.c Index: ChangeLog =================================================================== --- ChangeLog (revision 25503) +++ ChangeLog (revision 25504) @@ -1,3 +1,7 @@ +Tue Oct 27 09:27:59 2009 NARUSE, Yui <naruse@r...> + + * vm_exec.c (DECL_SC_REG): use __clang__. + Tue Oct 27 08:56:11 2009 Nobuyoshi Nakada <nobu@r...> * mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb Index: vm_exec.c =================================================================== --- vm_exec.c (revision 25503) +++ vm_exec.c (revision 25504) @@ -14,10 +14,10 @@ #if VMDEBUG > 0 #define DECL_SC_REG(type, r, reg) register type reg_##r -#elif __GNUC__ && __x86_64__ && defined(__asm__) +#elif __GNUC__ && __x86_64__ && !__clang__ #define DECL_SC_REG(type, r, reg) register type reg_##r __asm__("r" reg) -#elif __GNUC__ && __i386__ && defined(__asm__) +#elif __GNUC__ && __i386__ && !__clang__ #define DECL_SC_REG(type, r, reg) register type reg_##r __asm__("e" reg) #else -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/