Chromium Code Reviews| Index: src/x64/full-codegen-x64.cc |
| =================================================================== |
| --- src/x64/full-codegen-x64.cc (revision 6938) |
| +++ src/x64/full-codegen-x64.cc (working copy) |
| @@ -2887,7 +2887,8 @@ |
| void FullCodeGenerator::EmitMathSin(ZoneList<Expression*>* args) { |
| // Load the argument on the stack and call the stub. |
| - TranscendentalCacheStub stub(TranscendentalCache::SIN); |
| + TranscendentalCacheStub stub(TranscendentalCache::SIN, |
| + TranscendentalCacheStub::UNTAGGED); |
|
Lasse Reichstein
2011/02/25 06:49:26
And should these be UNTAGGED in the full compiler?
William Hesse
2011/02/25 12:12:38
Nope. Fixed them.
|
| ASSERT(args->length() == 1); |
| VisitForStackValue(args->at(0)); |
| __ CallStub(&stub); |
| @@ -2897,7 +2898,8 @@ |
| void FullCodeGenerator::EmitMathCos(ZoneList<Expression*>* args) { |
| // Load the argument on the stack and call the stub. |
| - TranscendentalCacheStub stub(TranscendentalCache::COS); |
| + TranscendentalCacheStub stub(TranscendentalCache::COS, |
| + TranscendentalCacheStub::UNTAGGED); |
| ASSERT(args->length() == 1); |
| VisitForStackValue(args->at(0)); |
| __ CallStub(&stub); |
| @@ -2907,7 +2909,8 @@ |
| void FullCodeGenerator::EmitMathLog(ZoneList<Expression*>* args) { |
| // Load the argument on the stack and call the stub. |
| - TranscendentalCacheStub stub(TranscendentalCache::LOG); |
| + TranscendentalCacheStub stub(TranscendentalCache::LOG, |
| + TranscendentalCacheStub::UNTAGGED); |
| ASSERT(args->length() == 1); |
| VisitForStackValue(args->at(0)); |
| __ CallStub(&stub); |