Skip to content

Commit 6e5d6b4

Browse files
willtebbuttmhauru
andauthored
Update src/copyable_task.jl
Co-authored-by: Markus Hauru <[email protected]>
1 parent 001737e commit 6e5d6b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/copyable_task.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ There are two main considerations when transforming the `IRCode`. The first is t
231231
that the "state" of a `TapedTask` can be copied, so that a `TapedTask` can be copied, and
232232
resumed later. The complete state of a `TapedTask` is given by its arguments, and the value
233233
associated to each ssa (these are initially undefined).
234-
To make it possible to copy the state of the ssa values, we place a `Base.RefValue{T}`s into
234+
To make it possible to copy the state of the ssa values, we place `Base.RefValue{T}`s into
235235
the captures of the `MistyClosure` which implements the `TapedTask`, one for each ssa in the
236236
IR (`T` is the type inferred for that ssa). A call is replaced by reading in values of ssas
237237
from these refs, applying the original operation, and writing the result to the ref

0 commit comments

Comments
 (0)