Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 6e1827778302b358a7ec96f5fa37d1b27e560594..befd8f2de7e2b0601a3b42dda2ce1993959a6bcd 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.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. |