From c01de5bc69b74679db5c06936572a967474c6d39 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 6 Aug 2009 14:49:56 -0700 Subject: [PATCH] Revert patch for bug 505123, changeset f1a04b1c0b37. 0.9% SunSpider regression. --- js/src/jsarray.cpp | 2 +- js/src/jsmath.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/jsarray.cpp b/js/src/jsarray.cpp index a440240c0e6..f4b1039efab 100644 --- a/js/src/jsarray.cpp +++ b/js/src/jsarray.cpp @@ -893,7 +893,7 @@ js_PrototypeHasIndexedProperties(JSContext *cx, JSObject *obj) #ifdef JS_TRACER -static JSBool FASTCALL +static inline JSBool FASTCALL dense_grow(JSContext* cx, JSObject* obj, jsint i, jsval v) { /* diff --git a/js/src/jsmath.cpp b/js/src/jsmath.cpp index 1d1a4170376..dd6fd51665c 100644 --- a/js/src/jsmath.cpp +++ b/js/src/jsmath.cpp @@ -179,7 +179,7 @@ math_atan(JSContext *cx, uintN argc, jsval *vp) return js_NewNumberInRootedValue(cx, z, vp); } -static jsdouble JS_FASTCALL +static inline jsdouble JS_FASTCALL math_atan2_kernel(jsdouble x, jsdouble y) { #if defined(_MSC_VER) @@ -227,7 +227,7 @@ math_atan2(JSContext *cx, uintN argc, jsval *vp) return js_NewNumberInRootedValue(cx, math_atan2_kernel (x, y), vp); } -static inline jsdouble +static inline jsdouble JS_FASTCALL math_ceil_kernel(jsdouble x) { #ifdef __APPLE__