Bug 1189011 - Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa). r=jandem

This commit is contained in:
Ian Stakenvicius 2015-07-29 12:06:00 -04:00
parent 8aad3c95d5
commit ebc260e86d

View File

@ -20,7 +20,7 @@
#include "js/Class.h"
#if JS_STACK_GROWTH_DIRECTION > 0
# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY(((uintptr_t)(sp) < (limit)))
# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) < (limit)))
#else
# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) > (limit)))
#endif