diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-05-12 01:02:48 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-05-12 01:02:48 -0400 |
| commit | 619159cf48e953ca65933391313a72c392007710 (patch) | |
| tree | 315cb12cff807374cd8fbbad3c06107241633565 /src/codegen.cpp | |
| parent | a32d3a85d21d614e5960b9eadcd85374954b910f (diff) | |
| download | zig-619159cf48e953ca65933391313a72c392007710.tar.gz zig-619159cf48e953ca65933391313a72c392007710.zip | |
self-hosted: rework the memory layout of ir.Module and related types
* add TypedValue.Managed which represents a Type, a Value, and some
kind of memory management strategy.
* introduce an analysis queue
* flesh out how incremental compilation works with respect to exports
* ir.text.Module is only capable of one error message during parsing
* link.zig no longer has a decl table map and instead has structs that
exist directly on ir.Module.Decl and ir.Module.Export
* implement primitive .text block allocation
* implement linker code for updating Decls and Exports
* implement null Type
Some supporting std lib changes:
* add std.ArrayList.appendSliceAssumeCapacity
* add std.fs.File.copyRange and copyRangeAll
* fix std.HashMap having modification safety on in ReleaseSmall builds
* add std.HashMap.putAssumeCapacityNoClobber
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions
