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..49a406ecc33fa65be5b87ad2e4abfc43336b3ff1 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -38,13 +38,21 @@ 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_; |
+ |
Major MajorKey() { return TranscendentalCache; } |
- int MinorKey() { return type_; } |
+ int MinorKey() { return type_ | argument_type_; } |
Runtime::FunctionId RuntimeFunction(); |
}; |