зеркало из https://github.com/github/ruby.git
* vm_exec.c (DECL_SC_REG): use __clang__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
609030816b
Коммит
404ed4f8d4
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Oct 27 09:27:59 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* vm_exec.c (DECL_SC_REG): use __clang__.
|
||||||
|
|
||||||
Tue Oct 27 08:56:11 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Oct 27 08:56:11 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb
|
* mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
#if VMDEBUG > 0
|
#if VMDEBUG > 0
|
||||||
#define DECL_SC_REG(type, r, reg) register type reg_##r
|
#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)
|
#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)
|
#define DECL_SC_REG(type, r, reg) register type reg_##r __asm__("e" reg)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче