Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index a15e1f50539de0b18ac3d4526f83d63cb1076eb5..5106be81bbd70d73006507baee098e265f60415d 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -7153,7 +7153,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Math_exp) { |
isolate->counters()->math_exp()->Increment(); |
CONVERT_DOUBLE_ARG_CHECKED(x, 0); |
- return isolate->transcendental_cache()->Get(TranscendentalCache::EXP, x); |
+ lazily_initialize_fast_exp(); |
+ return isolate->heap()->NumberFromDouble(fast_exp(x)); |
} |