Index: src/arm/codegen-arm.h |
=================================================================== |
--- src/arm/codegen-arm.h (revision 4842) |
+++ src/arm/codegen-arm.h (working copy) |
@@ -589,6 +589,21 @@ |
}; |
+// Compute a transcendental math function natively, or call the |
+// TranscendentalCache runtime function. |
+class TranscendentalCacheStub: public CodeStub { |
+ public: |
+ explicit TranscendentalCacheStub(TranscendentalCache::Type type) |
+ : type_(type) {} |
+ void Generate(MacroAssembler* masm); |
+ private: |
+ TranscendentalCache::Type type_; |
+ Major MajorKey() { return TranscendentalCache; } |
+ int MinorKey() { return type_; } |
+ Runtime::FunctionId RuntimeFunction(); |
+}; |
+ |
+ |
class GenericBinaryOpStub : public CodeStub { |
public: |
GenericBinaryOpStub(Token::Value op, |