mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* include/ruby/intern.h: pcc can't use __builtin_constant_p.
* vm_exec.c: change condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c34db58913
commit
60aa9c809b
3 changed files with 10 additions and 4 deletions
|
@ -11,13 +11,13 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#if VMDEBUG > 0
|
||||
#if (VMDEBUG > 0) || defined(__clang)
|
||||
#define DECL_SC_REG(type, r, reg) register type reg_##r
|
||||
|
||||
#elif __GNUC__ && __x86_64__ && !__clang__
|
||||
#elif __GNUC__ && __x86_64__
|
||||
#define DECL_SC_REG(type, r, reg) register type reg_##r __asm__("r" reg)
|
||||
|
||||
#elif __GNUC__ && __i386__ && !__clang__
|
||||
#elif __GNUC__ && __i386__
|
||||
#define DECL_SC_REG(type, r, reg) register type reg_##r __asm__("e" reg)
|
||||
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue