about summary refs log tree commit diff
path: root/nix/tag
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-01T13·18+0300
committertazjin <tazjin@tvl.su>2022-09-07T19·08+0000
commit6f6bbc12f88c6bcd2b060ad918aef5b1b9d15553 (patch)
treeb21684edc30f47ea4a71261c9743ee9ea589696c /nix/tag
parent18f8fecba4b866529e073ef7deb924470c986161 (diff)
feat(tvix/eval): add data structures for tracking spans in chunks r/4709
This adds a new vector to the chunk data structure which tracks spans
into a codemap. The compiler will emit this information to the chunk
when adding instructions.

The internal representation of the spans is slightly optimised to
avoid storing duplicate spans, as there are cases where many
instructions might be derived from the same span.

Change-Id: I336f8c912e7eb50ea02ed71e6164f651ca3ca790
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6376
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'nix/tag')
0 files changed, 0 insertions, 0 deletions