Index: src/math.js |
=================================================================== |
--- src/math.js (revision 4085) |
+++ src/math.js (working copy) |
@@ -1,4 +1,3 @@ |
-// Copyright 2006-2008 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -84,7 +83,7 @@ |
// ECMA 262 - 15.8.2.7 |
function MathCos(x) { |
if (!IS_NUMBER(x)) x = ToNumber(x); |
- return %_Math_cos(x); |
+ return %_MathCos(x); |
} |
// ECMA 262 - 15.8.2.8 |
@@ -159,7 +158,7 @@ |
function MathPow(x, y) { |
if (!IS_NUMBER(x)) x = ToNumber(x); |
if (!IS_NUMBER(y)) y = ToNumber(y); |
- return %_Math_pow(x, y); |
+ return %_MathPow(x, y); |
} |
// ECMA 262 - 15.8.2.14 |
@@ -176,13 +175,13 @@ |
// ECMA 262 - 15.8.2.16 |
function MathSin(x) { |
if (!IS_NUMBER(x)) x = ToNumber(x); |
- return %_Math_sin(x); |
+ return %_MathSin(x); |
} |
// ECMA 262 - 15.8.2.17 |
function MathSqrt(x) { |
if (!IS_NUMBER(x)) x = ToNumber(x); |
- return %_Math_sqrt(x); |
+ return %_MathSqrt(x); |
} |
// ECMA 262 - 15.8.2.18 |