Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 81ed448a17f1185b3bd64d7577f29a001db0a42b..706d2886b9fbed4e107b1b501d8c09758201ae79 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -32,6 +32,7 @@ |
#include "isolate.h" |
#include "list-inl.h" |
#include "objects.h" |
+#include "platform.h" |
#include "v8-counters.h" |
#include "store-buffer.h" |
#include "store-buffer-inl.h" |
@@ -658,15 +659,15 @@ double TranscendentalCache::SubCache::Calculate(double input) { |
case ATAN: |
return atan(input); |
case COS: |
- return cos(input); |
+ return fast_cos(input); |
case EXP: |
return exp(input); |
case LOG: |
- return log(input); |
+ return fast_log(input); |
case SIN: |
- return sin(input); |
+ return fast_sin(input); |
case TAN: |
- return tan(input); |
+ return fast_tan(input); |
default: |
return 0.0; // Never happens. |
} |