Build fix for bug 511307.
authorAndreas Gal <gal@mozilla.com>
Wed, 19 Aug 2009 15:58:36 -0700
changeset 31901 15166116171f252bb017f2554700980ce8766212
parent 31900 ccf91ba2d62a84a708c61f539797c7c1057e5d8e
child 31902 0b47a120e4e11260f76afd618da474f45cbcec6f
push idunknown
push userunknown
push dateunknown
bugs511307
milestone1.9.3a1pre
Build fix for bug 511307.
js/src/jsmath.cpp
--- a/js/src/jsmath.cpp
+++ b/js/src/jsmath.cpp
@@ -724,26 +724,26 @@ static JSFunctionSpec math_static_method
 #if JS_HAS_TOSOURCE
     JS_FN(js_toSource_str,  math_toSource,        0, 0),
 #endif
     JS_TN("abs",            math_abs,             1, 0, math_abs_trcinfo),
     JS_TN("acos",           math_acos,            1, 0, math_acos_trcinfo),
     JS_TN("asin",           math_asin,            1, 0, math_asin_trcinfo),
     JS_TN("atan",           math_atan,            1, 0, math_atan_trcinfo),
     JS_TN("atan2",          math_atan2,           2, 0, math_atan2_trcinfo),
-    JS_TN("ceil",           math_ceil,            1, 0, js_math_ceil_trcinfo),
+    JS_TN("ceil",           js_math_ceil,         1, 0, js_math_ceil_trcinfo),
     JS_TN("cos",            math_cos,             1, 0, math_cos_trcinfo),
     JS_TN("exp",            math_exp,             1, 0, math_exp_trcinfo),
-    JS_TN("floor",          math_floor,           1, 0, js_math_floor_trcinfo),
+    JS_TN("floor",          js_math_floor,        1, 0, js_math_floor_trcinfo),
     JS_TN("log",            math_log,             1, 0, math_log_trcinfo),
-    JS_TN("max",            math_max,             2, 0, js_math_max_trcinfo),
-    JS_TN("min",            math_min,             2, 0, js_math_min_trcinfo),
+    JS_TN("max",            js_math_max,          2, 0, js_math_max_trcinfo),
+    JS_TN("min",            js_math_min,          2, 0, js_math_min_trcinfo),
     JS_TN("pow",            math_pow,             2, 0, math_pow_trcinfo),
     JS_TN("random",         math_random,          0, 0, math_random_trcinfo),
-    JS_TN("round",          math_round,           1, 0, js_math_round_trcinfo),
+    JS_TN("round",          js_math_round,        1, 0, js_math_round_trcinfo),
     JS_TN("sin",            math_sin,             1, 0, math_sin_trcinfo),
     JS_TN("sqrt",           math_sqrt,            1, 0, math_sqrt_trcinfo),
     JS_TN("tan",            math_tan,             1, 0, math_tan_trcinfo),
     JS_FS_END
 };
 
 JSObject *
 js_InitMathClass(JSContext *cx, JSObject *obj)