diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-01T13·18+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-07T19·08+0000 |
commit | 6f6bbc12f88c6bcd2b060ad918aef5b1b9d15553 (patch) | |
tree | b21684edc30f47ea4a71261c9743ee9ea589696c /tvix/eval/src/errors.rs | |
parent | 18f8fecba4b866529e073ef7deb924470c986161 (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 'tvix/eval/src/errors.rs')
0 files changed, 0 insertions, 0 deletions