about summary refs log tree commit diff
path: root/nix/runExecline/default.nix
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2022-10-10T16·56-0400
committergrfn <grfn@gws.fyi>2022-10-10T17·51+0000
commit899fbdbddb93050f26236ff7c72e7ae4704d497b (patch)
tree08b0d09bb3da81e1132ce6b6f0dd065cde04a651 /nix/runExecline/default.nix
parent1ab252470ac7baf29ac891e4e1ca1fc08a8968e5 (diff)
refactor(tvix/eval): Compile OpAssert using conditional jumps r/5082
In order to behave nicely with tryEval, asserts need to leave the
instruction pointer in a reasonable place even if they fail - whereas
with the previous implementation catching a failed assert would still
end up running the op for the *body* of the assert. With this change, we
compile asserts much more like an `if` expression with conditional jumps
rather than having an OpAssert op.

Change-Id: I1b266c3be90185c84000da6b1995ac3e6fd5471b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6925
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'nix/runExecline/default.nix')
0 files changed, 0 insertions, 0 deletions