| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 70a968e8a2dfc789d20298767ccd309b5713a068..1a7d828c92d9e336bcad5de9fb54e49ac81cfb88 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -3539,7 +3539,7 @@ void FullCodeGenerator::EmitMathPow(CallRuntime* expr) {
|
| MathPowStub stub(MathPowStub::ON_STACK);
|
| __ CallStub(&stub);
|
| } else {
|
| - __ CallRuntime(Runtime::kMath_pow, 2);
|
| + __ CallRuntime(Runtime::kHiddenMathPowSlow, 2);
|
| }
|
| context()->Plug(eax);
|
| }
|
| @@ -3726,26 +3726,6 @@ void FullCodeGenerator::EmitStringCompare(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitMathLog(CallRuntime* expr) {
|
| - // Load the argument on the stack and call the runtime function.
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - ASSERT(args->length() == 1);
|
| - VisitForStackValue(args->at(0));
|
| - __ CallRuntime(Runtime::kMath_log, 1);
|
| - context()->Plug(eax);
|
| -}
|
| -
|
| -
|
| -void FullCodeGenerator::EmitMathSqrt(CallRuntime* expr) {
|
| - // Load the argument on the stack and call the runtime function.
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - ASSERT(args->length() == 1);
|
| - VisitForStackValue(args->at(0));
|
| - __ CallRuntime(Runtime::kMath_sqrt, 1);
|
| - context()->Plug(eax);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitCallFunction(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| ASSERT(args->length() >= 2);
|
|
|