The VM previously took care of repeatedly forcing a thunk until it reached an evaluated state. This logic is now encapsulated inside of the `Thunk::force` implementation. In addition, force no longer returns a reference to the value by default, leaving it up to callers to decide whether they want to borrow the value or not (a helper is provided for this). Change-Id: I2aa7da922058ad1c57fbf8bfc7785aab7971c02b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6365 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> |
||
|---|---|---|
| .. | ||
| builtins | ||
| compiler | ||
| tests | ||
| value | ||
| chunk.rs | ||
| disassembler.rs | ||
| errors.rs | ||
| eval.rs | ||
| lib.rs | ||
| main.rs | ||
| opcode.rs | ||
| upvalues.rs | ||
| vm.rs | ||
| warnings.rs | ||