ISLE: Re-implement ValueSlice (#3784)
The current definition of `ValueSlice` is not usable, since any call to a constructor returning a `ValueSlice` will extend the mutable borrow on the context taken by the constructor call, with the result that it cannot be passed to any other constructor ever. Re-implement `ValueSlice` as a pair of a `ValueList` identifer plus an offset into the list. This type can simply be copied without requiring a borrow on the context.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
src/clif.isle 9ea75a6f790b5c03
|
||||
src/prelude.isle 957023853b23dacb
|
||||
src/prelude.isle 9830498351ddf6a3
|
||||
src/isa/x64/inst.isle 5ee89205e6e9a46b
|
||||
src/isa/x64/lower.isle 348a808ea5de4cdb
|
||||
|
||||
Reference in New Issue
Block a user