about summary refs log tree commit diff
path: root/third_party/cgit
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-23T21·01+0300
committertazjin <tazjin@tvl.su>2022-09-01T21·56+0000
commitfc865eb157380fa5d2c779bd0cc207b73a514572 (patch)
tree42d5462ce13bffa4ede04dba69aa642586e09026 /third_party/cgit
parent9d1451773b543b076d33c8eadcd65d1ef6483f9f (diff)
refactor(tvix/eval): introduce LambdaCtx structure to compiler r/4580
This structure carries context about the lambda currently being
compiled (which may well be the top-level lambda of an input AST).

Using the indirection helpers in the compiler, things like the scope,
code and constants of the function being compiled are now taken from
the current lambda context instead.

Change-Id: If5f864d826c2e72855cee4b728ea1830e9b5ac06
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6246
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'third_party/cgit')
0 files changed, 0 insertions, 0 deletions