Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index 8cbb771952d87531a3f014da9d2f2993af27c522..9acccdc2ca7cfa12e20ef9e513b9f8e4c6f3c836 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -37,8 +37,7 @@ namespace internal { |
#define __ ACCESS_MASM(masm) |
-TranscendentalFunction CreateTranscendentalFunction( |
- TranscendentalCache::Type type) { |
+UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type) { |
switch (type) { |
case TranscendentalCache::SIN: return &sin; |
case TranscendentalCache::COS: return &cos; |
@@ -50,6 +49,10 @@ TranscendentalFunction CreateTranscendentalFunction( |
} |
+UnaryMathFunction CreateSqrtFunction() { |
+ return &sqrt; |
+} |
+ |
// ------------------------------------------------------------------------- |
// Platform-specific RuntimeCallHelper functions. |