diff options
author | Vincent Ambo <mail@tazj.in> | 2023-02-26T15·48+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-03-07T22·04+0000 |
commit | 9cebae9b56b8953514011dfe80364d63f27c2b33 (patch) | |
tree | f0e6fdae5def6f958d43258c27269981b5bfed01 /tvix/eval/src/vm.rs | |
parent | e5ff12e04cdb2c048149fc3bb9549afc007609e8 (diff) |
refactor(tvix/eval): merge OpCall & OpTailCall r/5898
As applies are thunked, there was no situation where OpCall could be emitted. In practice, all calls were already tail calls. Change-Id: Id0d441dcdd86f804d7cddd0cc14f589bbfc75e5b Reviewed-on: https://cl.tvl.fyi/c/depot/+/8147 Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/eval/src/vm.rs')
-rw-r--r-- | tvix/eval/src/vm.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tvix/eval/src/vm.rs b/tvix/eval/src/vm.rs index cd6fc211b4ad..10966aca811b 100644 --- a/tvix/eval/src/vm.rs +++ b/tvix/eval/src/vm.rs @@ -956,11 +956,6 @@ impl<'o> VM<'o> { OpCode::OpCall => { let callable = self.pop(); - self.call_value(&callable)?; - } - - OpCode::OpTailCall => { - let callable = self.pop(); self.tail_call_value(callable)?; } |