diff options
author | Vincent Ambo <mail@tazj.in> | 2022-10-22T14·55+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-10-23T15·50+0000 |
commit | 546fcf51cd0b0837604b5c094199d3221173d02f (patch) | |
tree | ef2365e9733cb3aaaefd2405463dc48a883d6829 /tvix/eval/src/test_utils.rs | |
parent | c9bf7c4cf1d4220b181ef7dc8e9a2b67a7c7ba9d (diff) |
refactor(tvix/eval): simplify self-reference check r/5180
Checking the computed depth and stack slot against the computed depth and stack slot is equivalent to just checking the indices into the locals vector against each other (i.e. "is the slot we're compiling into the slot we're accessing?") Change-Id: Ie85a68df073e3b2e3d9aba7fe8634c48eada81fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/7059 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/test_utils.rs')
0 files changed, 0 insertions, 0 deletions