Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index 30f64d6bdf8ea91d72c9adffa46773c158ca0533..f123f3f3566d178f213959d9057e1664dce01fb7 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -110,6 +110,12 @@ void V8::InitializeOncePerProcessImpl() { |
bool serializer_enabled = Serializer::enabled(NULL); |
CpuFeatures::Probe(serializer_enabled); |
OS::PostSetUp(); |
+ // The custom exp implementation needs 16KB of lookup data; initialize it |
+ // on demand. |
+ init_fast_sqrt_function(); |
+#ifdef _WIN64 |
+ init_modulo_function(); |
+#endif |
ElementsAccessor::InitializeOncePerProcess(); |
LOperand::SetUpCaches(); |
SetUpJSCallerSavedCodeData(); |