File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 12
12
- uses : JuliaRegistries/TagBot@v1
13
13
with :
14
14
token : ${{ secrets.GITHUB_TOKEN }}
15
+ ssh : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ uuid = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
3
3
license = " MIT"
4
4
desc = " Tape based task copying in Turing"
5
5
repo = " https://github.com/TuringLang/Libtask.jl.git"
6
- version = " 0.9.3 "
6
+ version = " 0.9.4 "
7
7
8
8
[deps ]
9
9
MistyClosures = " dbe65cb8-6be2-42dd-bbc5-4196aaced4f4"
@@ -14,7 +14,7 @@ Aqua = "0.8.11"
14
14
JuliaFormatter = " 1.0.62"
15
15
MistyClosures = " 2.0.0"
16
16
Test = " 1"
17
- julia = " 1.10.8"
17
+ julia = " ~ 1.10.8, 1.11.6 "
18
18
19
19
[extras ]
20
20
Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
Original file line number Diff line number Diff line change @@ -233,6 +233,12 @@ function _control_flow_graph(blks::Vector{BBlock})::Core.Compiler.CFG
233
233
preds = map (id -> sort (map (p -> id_to_num[p], preds_ids[id])), block_ids)
234
234
succs = map (id -> sort (map (s -> id_to_num[s], succs_ids[id])), block_ids)
235
235
236
+ # Predecessor of entry block is `0`. This needs to be added in manually.
237
+ @static if VERSION >= v " 1.11.6"
238
+ push! (preds[1 ], 0 )
239
+ end
240
+
241
+ # Compute the statement numbers associated to each basic block.
236
242
index = vcat (0 , cumsum (map (length, blks))) .+ 1
237
243
basic_blocks = map (eachindex (blks)) do n
238
244
stmt_range = Core. Compiler. StmtRange (index[n], index[n + 1 ] - 1 )
You can’t perform that action at this time.
0 commit comments