Andrew Kelley f7596ae942 stage2: use indexes for Decl objects
Rather than allocating Decl objects with an Allocator, we instead allocate
them with a SegmentedList. This provides four advantages:
 * Stable memory so that one thread can access a Decl object while another
   thread allocates additional Decl objects from this list.
 * It allows us to use u32 indexes to reference Decl objects rather than
   pointers, saving memory in Type, Value, and dependency sets.
 * Using integers to reference Decl objects rather than pointers makes
   serialization trivial.
 * It provides a unique integer to be used for anonymous symbol names,
   avoiding multi-threaded contention on an atomic counter.
2022-04-20 17:37:35 -07:00
..
2022-04-19 19:42:15 -05:00
2022-04-07 05:04:38 -06:00
2022-03-08 20:38:12 +02:00
2022-03-08 20:38:12 +02:00
2022-04-15 16:52:02 -06:00
2022-04-19 19:51:19 -04:00
2022-04-07 05:04:38 -06:00
2022-04-19 19:58:49 +02:00
2022-03-08 20:38:12 +02:00
2022-04-15 11:20:11 +03:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-04-14 10:12:45 -07:00
2022-04-14 10:12:45 -07:00
2022-04-20 05:31:24 -07:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00