refactor(tvix/eval): rename Opcode::DataLocalIdx to DataStackIdx
It is very confusing that this opcode is called DataLocalIdx, but it carries a StackIdx rather than a LocalIdx. It seems like this really ought to be called DataStackIdx, but maybe I've misunderstood; if so please explain it to me. Change-Id: I91f6ffa759412beef0b91d3c19ec0d873fe51b99 Signed-off-by: Adam Joseph <adam@westernsemico.com> Reviewed-on: https://cl.tvl.fyi/c/depot/+/7088 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
8240b2959e
commit
c096152953
4 changed files with 7 additions and 7 deletions
|
|
@ -172,7 +172,7 @@ pub enum OpCode {
|
|||
//
|
||||
// It is illegal for a `Data*` opcode to appear anywhere else.
|
||||
/// Populate a static upvalue by copying from the stack immediately.
|
||||
DataLocalIdx(StackIdx),
|
||||
DataStackIdx(StackIdx),
|
||||
/// Populate a static upvalue of a thunk by copying it the stack, but do
|
||||
/// when the thunk is finalised (by OpFinalise) rather than immediately.
|
||||
DataDeferredLocal(StackIdx),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue