| Index: src/ia32/codegen-ia32.cc
|
| ===================================================================
|
| --- src/ia32/codegen-ia32.cc (revision 5911)
|
| +++ src/ia32/codegen-ia32.cc (working copy)
|
| @@ -7995,6 +7995,15 @@
|
| }
|
|
|
|
|
| +void CodeGenerator::GenerateMathLog(ZoneList<Expression*>* args) {
|
| + ASSERT_EQ(args->length(), 1);
|
| + Load(args->at(0));
|
| + TranscendentalCacheStub stub(TranscendentalCache::LOG);
|
| + Result result = frame_->CallStub(&stub, 1);
|
| + frame_->Push(&result);
|
| +}
|
| +
|
| +
|
| // Generates the Math.sqrt method. Please note - this function assumes that
|
| // the callsite has executed ToNumber on the argument.
|
| void CodeGenerator::GenerateMathSqrt(ZoneList<Expression*>* args) {
|
|
|