mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Creates a `GlobalInit` class for storing relevant values, pulling functions off `InstBlockStack` and `Context`. Adds a `Context` pointer just so that it doesn't need to be passed in on each call (`Finalize` in particular uses several members). Note we have several different `InstBlockStack` instances, so several copies of the relevant members were simply unused.
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.