| Index: src/ia32/full-codegen-ia32.cc
|
| ===================================================================
|
| --- src/ia32/full-codegen-ia32.cc (revision 5911)
|
| +++ src/ia32/full-codegen-ia32.cc (working copy)
|
| @@ -2917,6 +2917,16 @@
|
| }
|
|
|
|
|
| +void FullCodeGenerator::EmitMathLog(ZoneList<Expression*>* args) {
|
| + // Load the argument on the stack and call the stub.
|
| + TranscendentalCacheStub stub(TranscendentalCache::LOG);
|
| + ASSERT(args->length() == 1);
|
| + VisitForStackValue(args->at(0));
|
| + __ CallStub(&stub);
|
| + context()->Plug(eax);
|
| +}
|
| +
|
| +
|
| void FullCodeGenerator::EmitMathSqrt(ZoneList<Expression*>* args) {
|
| // Load the argument on the stack and call the runtime function.
|
| ASSERT(args->length() == 1);
|
|
|