Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 506f9b2d5dcdca0ba2de06d5cabf4ac429747fb9..6e1827778302b358a7ec96f5fa37d1b27e560594 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -37,6 +37,19 @@ namespace internal { |
#define __ ACCESS_MASM(masm) |
+TranscendentalFunction CreateTranscendentalFunction( |
+ TranscendentalCache::Type type) { |
+ switch (type) { |
+ case TranscendentalCache::SIN: return &sin; |
+ case TranscendentalCache::COS: return &cos; |
+ case TranscendentalCache::TAN: return &tan; |
+ case TranscendentalCache::LOG: return &log; |
+ default: UNIMPLEMENTED(); |
+ } |
+ return NULL; |
+} |
+ |
+ |
// ------------------------------------------------------------------------- |
// Platform-specific RuntimeCallHelper functions. |