1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_evalbody.c (DECL_SC_REG): use __asm__ instead.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2008-04-22 07:25:28 +00:00
parent 6a7afe4247
commit d4439ce2db
2 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,15 @@
Tue Apr 22 16:24:27 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* string.c (rb_enc_cr_str_buf_cat): do not use C++ comments.
Tue Apr 22 16:23:53 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* configure.in: use AC_USE_SYSTEM_EXTENSIONS.
Tue Apr 22 16:23:16 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* vm_evalbody.c (DECL_SC_REG): use __asm__ instead.
Tue Apr 22 16:18:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_evalbody.c (DECL_SC_REG): typo fixed.

View file

@ -15,10 +15,10 @@
#define DECL_SC_REG(type, r, reg) register type reg_##r
#elif __GNUC__ && __x86_64__
#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__
#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
#define DECL_SC_REG(type, r, reg) register type reg_##r