diff options
author | Vincent Ambo <mail@tazj.in> | 2023-01-05T11·35+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-01-06T12·23+0000 |
commit | 36e5a4cc07c963e89edd409d9050fe67c10e7e8d (patch) | |
tree | acd843e9c866898a22192c8de585c738f8189acb /tvix/eval/src/tests/tvix_tests/eval-okay-assert-thunk-condition.nix | |
parent | 0e421a16c584db34742b8db644b80c9c9a5faf02 (diff) |
refactor(tvix/eval): take owned ast::Expr in Compiler::compile r/5601
This adds a very minimal amount of additional Rc-increments (~1 per compilation), but makes it a lot easier to add an AST-optimising compiler pass without incurring a lot of extra cost. Change-Id: I57208bdfc8882e3ae21c5850e14aa380d3ccea36 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7765 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-assert-thunk-condition.nix')
0 files changed, 0 insertions, 0 deletions