Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index 0e707f41c8911ba436a28da7953dc75302fec6c3..e3ef3391f8f20ceb84ffc3078a23ce01e2ffb0c0 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -38,13 +38,22 @@ namespace internal { |
// TranscendentalCache runtime function. |
class TranscendentalCacheStub: public CodeStub { |
public: |
- explicit TranscendentalCacheStub(TranscendentalCache::Type type) |
- : type_(type) {} |
+ enum ArgumentType { |
+ TAGGED = 0 << TranscendentalCache::kTranscendentalTypeBits, |
+ UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits |
+ }; |
+ |
+ TranscendentalCacheStub(TranscendentalCache::Type type, |
+ ArgumentType argument_type) |
+ : type_(type), argument_type_(argument_type) { } |
void Generate(MacroAssembler* masm); |
private: |
TranscendentalCache::Type type_; |
+ ArgumentType argument_type_; |
+ void GenerateCallCFunction(MacroAssembler* masm, Register scratch); |
+ |
Major MajorKey() { return TranscendentalCache; } |
- int MinorKey() { return type_; } |
+ int MinorKey() { return type_ | argument_type_; } |
Runtime::FunctionId RuntimeFunction(); |
}; |