diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-29T15·20+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-06T14·58+0000 |
commit | ce498052e6059b25d175fc2d1feea5e6494f9e97 (patch) | |
tree | 730adc29dc8f731f8b2967d8d6ae182694d946ec /tvix/eval/src/disassembler.rs | |
parent | 25c62dd0ef70a37915957bb1eb8ba3f4885c7aad (diff) |
refactor(tvix/eval): Carry lambda & upvalues directly in CallFrame r/4678
CallFrame has to work for both thunks & closures (as a thunk is basically a "weird 0-argument closure"). We opt to store the common, relevant fields directly in the frame to avoid having to dereference through the nested structures constantly (which would be especially annoying in the case of thunks). Change-Id: I47781597b84ec5cd55502dba1713e92cf2592af3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6348 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/disassembler.rs')
0 files changed, 0 insertions, 0 deletions