simplify previous change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2005-12-19 08:28:12 +00:00
parent dba8153266
commit c6c0e6f26b

6
eval.c
View File

@ -138,14 +138,13 @@ rb_jump_context(env, val)
(__GNUC__ == (major) && __GNUC_MINOR__ < (minor)) || \ (__GNUC__ == (major) && __GNUC_MINOR__ < (minor)) || \
(__GNUC__ == (major) && __GNUC_MINOR__ == (minor) && __GNUC_PATCHLEVEL__ < (patchlevel)))) (__GNUC__ == (major) && __GNUC_MINOR__ == (minor) && __GNUC_PATCHLEVEL__ < (patchlevel))))
#if GCC_VERSION_BEFORE(4,0,3) #if GCC_VERSION_BEFORE(4,0,3)
#if defined (__GNUC__) && (defined(sparc) || defined(__sparc__)) #if defined(sparc) || defined(__sparc__)
#define FUNCTION_CALL_MAY_RETURN_TWICE \ #define FUNCTION_CALL_MAY_RETURN_TWICE \
({ __asm__ volatile ("" : : : \ ({ __asm__ volatile ("" : : : \
"%o0", "%o1", "%o2", "%o3", "%o4", "%o5", "%o7", \ "%o0", "%o1", "%o2", "%o3", "%o4", "%o5", "%o7", \
"%l0", "%l1", "%l2", "%l3", "%l4", "%l5", "%l6", "%l7", \ "%l0", "%l1", "%l2", "%l3", "%l4", "%l5", "%l6", "%l7", \
"%i0", "%i1", "%i2", "%i3", "%i4", "%i5", "%i7"); }) "%i0", "%i1", "%i2", "%i3", "%i4", "%i5", "%i7"); })
#else #elif defined(__ia64__)
#if defined(__ia64__)
static jmp_buf function_call_may_return_twice_jmp_buf; static jmp_buf function_call_may_return_twice_jmp_buf;
int function_call_may_return_twice_false = 0; int function_call_may_return_twice_false = 0;
#define FUNCTION_CALL_MAY_RETURN_TWICE \ #define FUNCTION_CALL_MAY_RETURN_TWICE \
@ -155,7 +154,6 @@ int function_call_may_return_twice_false = 0;
#else #else
#define FUNCTION_CALL_MAY_RETURN_TWICE 0 #define FUNCTION_CALL_MAY_RETURN_TWICE 0
#endif #endif
#endif
#else #else
#define FUNCTION_CALL_MAY_RETURN_TWICE 0 #define FUNCTION_CALL_MAY_RETURN_TWICE 0
#endif #endif