diff options
| author | gingerBill <bill@gingerbill.org> | 2022-05-30 14:53:12 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-05-30 14:53:12 +0100 |
| commit | f3aefbc4434b92fc3fda74c942c953b08dd18a62 (patch) | |
| tree | d13281680a7cd14ce92630cb9d3a49c984b2a888 /src/entity.cpp | |
| parent | cef022539ebd41a4a80707f1a702e09e6748ade0 (diff) | |
`@(require_target_feature=<string>)` `@(enable_target_feature=<string>)`
require_target_feature - required by the target micro-architecture
enable_target_feature - will be enabled for the specified procedure only
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 904a630fb..76e6912b9 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -233,10 +233,12 @@ struct Entity { String link_name; String link_prefix; DeferredProcedure deferred_procedure; - bool is_foreign; - bool is_export; - bool generated_from_polymorphic; ProcedureOptimizationMode optimization_mode; + bool is_foreign : 1; + bool is_export : 1; + bool generated_from_polymorphic : 1; + bool target_feature_disabled : 1; + String target_feature; } Procedure; struct { Array<Entity *> entities; |