Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 8bb576ded7a3c634e40165c77b85f3d8c36ba0fd..d32b009109ae8b9b95baac5c41ae58ab64ee6f1e 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -5659,7 +5659,8 @@ void CodeGenerator::GenerateMathSin(ZoneList<Expression*>* args) { |
ASSERT_EQ(args->length(), 1); |
Load(args->at(0)); |
if (CpuFeatures::IsSupported(VFP3)) { |
- TranscendentalCacheStub stub(TranscendentalCache::SIN); |
+ TranscendentalCacheStub stub(TranscendentalCache::SIN, |
+ TranscendentalCacheStub::TAGGED); |
frame_->SpillAllButCopyTOSToR0(); |
frame_->CallStub(&stub, 1); |
} else { |
@@ -5673,7 +5674,8 @@ void CodeGenerator::GenerateMathCos(ZoneList<Expression*>* args) { |
ASSERT_EQ(args->length(), 1); |
Load(args->at(0)); |
if (CpuFeatures::IsSupported(VFP3)) { |
- TranscendentalCacheStub stub(TranscendentalCache::COS); |
+ TranscendentalCacheStub stub(TranscendentalCache::COS, |
+ TranscendentalCacheStub::TAGGED); |
frame_->SpillAllButCopyTOSToR0(); |
frame_->CallStub(&stub, 1); |
} else { |
@@ -5687,7 +5689,8 @@ void CodeGenerator::GenerateMathLog(ZoneList<Expression*>* args) { |
ASSERT_EQ(args->length(), 1); |
Load(args->at(0)); |
if (CpuFeatures::IsSupported(VFP3)) { |
- TranscendentalCacheStub stub(TranscendentalCache::LOG); |
+ TranscendentalCacheStub stub(TranscendentalCache::LOG, |
+ TranscendentalCacheStub::TAGGED); |
frame_->SpillAllButCopyTOSToR0(); |
frame_->CallStub(&stub, 1); |
} else { |