Index: src/codegen.h |
diff --git a/src/codegen.h b/src/codegen.h |
index 28a3006e1cc2e198bd6ce0152dad89fac5632e96..50d70f265db4478e37fc57a9495b0cecd3ea1995 100644 |
--- a/src/codegen.h |
+++ b/src/codegen.h |
@@ -87,10 +87,10 @@ namespace internal { |
// Results of the library implementation of transcendental functions may differ |
// from the one we use in our generated code. Therefore we use the same |
// generated code both in runtime and compiled code. |
-typedef double (*TranscendentalFunction)(double x); |
+typedef double (*UnaryMathFunction)(double x); |
-TranscendentalFunction CreateTranscendentalFunction( |
- TranscendentalCache::Type type); |
+UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type); |
+UnaryMathFunction CreateSqrtFunction(); |
class ElementsTransitionGenerator : public AllStatic { |