| Index: src/assembler.h
|
| diff --git a/src/assembler.h b/src/assembler.h
|
| index 6b399f2082361c9daa2c0b8ae55455e4f940327c..12200740a0becb3ff604b6622be73f73226badfc 100644
|
| --- a/src/assembler.h
|
| +++ b/src/assembler.h
|
| @@ -134,6 +134,19 @@ class CpuFeatureScope BASE_EMBEDDED {
|
| };
|
|
|
|
|
| +// Enable a unsupported feature within a scope for cross-compiling for a
|
| +// different CPU.
|
| +class PlatformFeatureScope BASE_EMBEDDED {
|
| + public:
|
| + explicit PlatformFeatureScope(CpuFeature f);
|
| + ~PlatformFeatureScope();
|
| +
|
| + private:
|
| + uint64_t old_supported_;
|
| + uint64_t old_found_by_runtime_probing_only_;
|
| +};
|
| +
|
| +
|
| // -----------------------------------------------------------------------------
|
| // Labels represent pc locations; they are typically jump or call targets.
|
| // After declaration, a label can be freely used to denote known or (yet)
|
|
|