|
@@ -229,6 +229,8 @@ struct DeclInfo {
|
|
|
|
|
|
Array<BlockLabel> labels;
|
|
Array<BlockLabel> labels;
|
|
|
|
|
|
|
|
+ i32 scope_index;
|
|
|
|
+
|
|
Array<VariadicReuseData> variadic_reuses;
|
|
Array<VariadicReuseData> variadic_reuses;
|
|
i64 variadic_reuse_max_bytes;
|
|
i64 variadic_reuse_max_bytes;
|
|
i64 variadic_reuse_max_align;
|
|
i64 variadic_reuse_max_align;
|
|
@@ -273,6 +275,8 @@ struct Scope {
|
|
std::atomic<Scope *> next;
|
|
std::atomic<Scope *> next;
|
|
std::atomic<Scope *> head_child;
|
|
std::atomic<Scope *> head_child;
|
|
|
|
|
|
|
|
+ i32 index; // within a procedure
|
|
|
|
+
|
|
RwMutex mutex;
|
|
RwMutex mutex;
|
|
StringMap<Entity *> elements;
|
|
StringMap<Entity *> elements;
|
|
PtrSet<Scope *> imported;
|
|
PtrSet<Scope *> imported;
|