about summary refs log tree commit diff
path: root/third_party/lisp/puri.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-29T15·20+0300
committertazjin <tazjin@tvl.su>2022-09-06T14·58+0000
commitce498052e6059b25d175fc2d1feea5e6494f9e97 (patch)
tree730adc29dc8f731f8b2967d8d6ae182694d946ec /third_party/lisp/puri.nix
parent25c62dd0ef70a37915957bb1eb8ba3f4885c7aad (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 'third_party/lisp/puri.nix')
0 files changed, 0 insertions, 0 deletions