Skip to content

Commit 5e3b848

Browse files
committed
remove CodeInfoTools
1 parent 436b056 commit 5e3b848

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ repo = "https://github.com/TuringLang/Libtask.jl.git"
66
version = "0.7.2"
77

88
[deps]
9-
CodeInfoTools = "bc773b8a-8374-437a-b9f2-0e9785855863"
109
FunctionWrappers = "069b7b12-0de2-55c6-9aab-29f3d0a68a2e"
1110
LRUCache = "8ac3fa9e-de4c-5943-b1dc-09c6b5f20637"
1211
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1312
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1413

1514
[compat]
1615
FunctionWrappers = "1.1"
17-
CodeInfoTools = "0.3.4"
1816
LRUCache = "1.3"
1917
julia = "1.7"
2018

src/Libtask.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Libtask
22

3-
using CodeInfoTools
43
using FunctionWrappers: FunctionWrapper
54
using LRUCache
65

src/tapedfunction.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const RawTape = Vector{AbstractInstruction}
55

66
function _infer(f, args_type)
77
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
1111
end
1212

1313
mutable struct TapedFunction{F, TapeType}

0 commit comments

Comments
 (0)