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 1212 - uses : JuliaRegistries/TagBot@v1
1313 with :
1414 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"
33license = " MIT"
44desc = " Tape based task copying in Turing"
55repo = " https://github.com/TuringLang/Libtask.jl.git"
6- version = " 0.9.3 "
6+ version = " 0.9.4 "
77
88[deps ]
99MistyClosures = " dbe65cb8-6be2-42dd-bbc5-4196aaced4f4"
@@ -14,7 +14,7 @@ Aqua = "0.8.11"
1414JuliaFormatter = " 1.0.62"
1515MistyClosures = " 2.0.0"
1616Test = " 1"
17- julia = " 1.10.8"
17+ julia = " ~ 1.10.8, 1.11.6 "
1818
1919[extras ]
2020Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
Original file line number Diff line number Diff line change @@ -255,6 +255,12 @@ function _control_flow_graph(blks::Vector{BBlock})::Core.Compiler.CFG
255255 preds = map (id -> sort (map (p -> id_to_num[p], preds_ids[id])), block_ids)
256256 succs = map (id -> sort (map (s -> id_to_num[s], succs_ids[id])), block_ids)
257257
258+ # Predecessor of entry block is `0`. This needs to be added in manually.
259+ @static if VERSION >= v " 1.11.6"
260+ push! (preds[1 ], 0 )
261+ end
262+
263+ # Compute the statement numbers associated to each basic block.
258264 index = vcat (0 , cumsum (map (length, blks))) .+ 1
259265 basic_blocks = map (eachindex (blks)) do n
260266 stmt_range = Core. Compiler. StmtRange (index[n], index[n + 1 ] - 1 )
You can’t perform that action at this time.
0 commit comments