mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-30 18:24:00 +00:00
compiler: improve target features support
This commit is contained in:
@@ -252,10 +252,8 @@ struct Entity {
|
||||
bool is_foreign : 1;
|
||||
bool is_export : 1;
|
||||
bool generated_from_polymorphic : 1;
|
||||
bool target_feature_disabled : 1;
|
||||
bool entry_point_only : 1;
|
||||
bool has_instrumentation : 1;
|
||||
String target_feature;
|
||||
} Procedure;
|
||||
struct {
|
||||
Array<Entity *> entities;
|
||||
@@ -502,4 +500,4 @@ gb_internal bool is_entity_local_variable(Entity *e) {
|
||||
|
||||
return ((e->scope->flags &~ ScopeFlag_ContextDefined) == 0) ||
|
||||
(e->scope->flags & ScopeFlag_Proc) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user