Bug 1189011 - Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa). r=jandem
authorIan Stakenvicius <axs@gentoo.org>
Wed, 29 Jul 2015 12:06:00 -0400
changeset 287206 fcecb7d94a8f885e6a582e4dcececb65101ce774
parent 287205 0ad329ed192e16cc7d021d3dc25887b5d9cff086
child 287207 3cd97e0c2fa18619d278d4a92ca752f0a9c7fdc1
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1189011
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1189011 - Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa). r=jandem
js/src/jsfriendapi.h
--- a/js/src/jsfriendapi.h
+++ b/js/src/jsfriendapi.h
@@ -15,17 +15,17 @@
 #include "jsbytecode.h"
 #include "jspubtd.h"
 
 #include "js/CallArgs.h"
 #include "js/CallNonGenericMethod.h"
 #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
 
 class JSAtom;
 struct JSErrorFormatString;
 class JSLinearString;
 struct JSJitInfo;