| Index: src/assembler.h
|
| diff --git a/src/assembler.h b/src/assembler.h
|
| index f1a5e20b97124dbe8caf183d6a1081af8c7faa37..62a7e57fb367865fb5e8eedf31fb7d2adef05d63 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)
|
|
|