Skip to content

Commit abffa96

Browse files
committed
remove CodeInfoTools
1 parent 436b056 commit abffa96

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ 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"

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)