| Index: src/x64/codegen-x64.h
|
| diff --git a/src/x64/codegen-x64.h b/src/x64/codegen-x64.h
|
| index 8416f391ec8a66bbd58bfc7a563b744487e2e2ec..9279d30ba3a48e325a7d4cd334b168e222b2a2ff 100644
|
| --- a/src/x64/codegen-x64.h
|
| +++ b/src/x64/codegen-x64.h
|
| @@ -675,6 +675,22 @@ class CodeGenerator: public AstVisitor {
|
| };
|
|
|
|
|
| +// 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();
|
| + void GenerateOperation(MacroAssembler* masm);
|
| +};
|
| +
|
| +
|
| // Flag that indicates how to generate code for the stub GenericBinaryOpStub.
|
| enum GenericBinaryFlags {
|
| NO_GENERIC_BINARY_FLAGS = 0,
|
|
|