Chromium Code Reviews| Index: src/x64/codegen-x64.cc |
| =================================================================== |
| --- src/x64/codegen-x64.cc (revision 6938) |
| +++ src/x64/codegen-x64.cc (working copy) |
| @@ -7030,7 +7030,8 @@ |
| void CodeGenerator::GenerateMathSin(ZoneList<Expression*>* args) { |
| ASSERT_EQ(args->length(), 1); |
| Load(args->at(0)); |
| - TranscendentalCacheStub stub(TranscendentalCache::SIN); |
| + TranscendentalCacheStub stub(TranscendentalCache::SIN, |
| + TranscendentalCacheStub::UNTAGGED); |
|
Lasse Reichstein
2011/02/25 06:49:26
Should these really be UNTAGGED?
William Hesse
2011/02/25 12:12:38
No. Fixed.
|
| Result result = frame_->CallStub(&stub, 1); |
| frame_->Push(&result); |
| } |
| @@ -7039,7 +7040,8 @@ |
| void CodeGenerator::GenerateMathCos(ZoneList<Expression*>* args) { |
| ASSERT_EQ(args->length(), 1); |
| Load(args->at(0)); |
| - TranscendentalCacheStub stub(TranscendentalCache::COS); |
| + TranscendentalCacheStub stub(TranscendentalCache::COS, |
| + TranscendentalCacheStub::UNTAGGED); |
| Result result = frame_->CallStub(&stub, 1); |
| frame_->Push(&result); |
| } |
| @@ -7048,7 +7050,8 @@ |
| void CodeGenerator::GenerateMathLog(ZoneList<Expression*>* args) { |
| ASSERT_EQ(args->length(), 1); |
| Load(args->at(0)); |
| - TranscendentalCacheStub stub(TranscendentalCache::LOG); |
| + TranscendentalCacheStub stub(TranscendentalCache::LOG, |
| + TranscendentalCacheStub::UNTAGGED); |
| Result result = frame_->CallStub(&stub, 1); |
| frame_->Push(&result); |
| } |