File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,13 @@ repo = "https://github.com/TuringLang/Libtask.jl.git"
6
6
version = " 0.7.2"
7
7
8
8
[deps ]
9
- CodeInfoTools = " bc773b8a-8374-437a-b9f2-0e9785855863"
10
9
FunctionWrappers = " 069b7b12-0de2-55c6-9aab-29f3d0a68a2e"
11
10
LRUCache = " 8ac3fa9e-de4c-5943-b1dc-09c6b5f20637"
12
11
LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
13
12
Statistics = " 10745b16-79ce-11e8-11f9-7d13ad32a3b2"
14
13
15
14
[compat ]
16
15
FunctionWrappers = " 1.1"
17
- CodeInfoTools = " 0.3.4"
18
16
LRUCache = " 1.3"
19
17
julia = " 1.7"
20
18
Original file line number Diff line number Diff line change 1
1
module Libtask
2
2
3
- using CodeInfoTools
4
3
using FunctionWrappers: FunctionWrapper
5
4
using LRUCache
6
5
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ const RawTape = Vector{AbstractInstruction}
5
5
6
6
function _infer (f, args_type)
7
7
ir0 = code_typed (f, Tuple{args_type... }, optimize= false )[1 ][1 ]
8
- ir1 = CodeInfoTools. code_inferred (f, args_type... )
9
- ir1. ssavaluetypes = ir0. ssavaluetypes
10
- return ir1
8
+ # ir1 = CodeInfoTools.code_inferred(f, args_type...)
9
+ # ir1.ssavaluetypes = ir0.ssavaluetypes
10
+ return ir0
11
11
end
12
12
13
13
mutable struct TapedFunction{F, TapeType}
You can’t perform that action at this time.
0 commit comments