Skip to content

Commit 7a5b74f

Browse files
committed
Remove/update out-of-date comments
1 parent c4bdb4b commit 7a5b74f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/utils.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,9 @@ end
104104
# Run type inference and constant propagation on the ir. Credit to @oxinabox:
105105
# https://gist.github.com/oxinabox/cdcffc1392f91a2f6d80b2524726d802#file-example-jl-L54
106106
function __infer_ir!(ir, interp::CC.AbstractInterpreter, mi::CC.MethodInstance)
107-
# TODO(mhauru) Why is this line here? This function is no longer defined in 1.12
108107
@static if VERSION >= v"1.12-"
109108
nargs = length(ir.argtypes) - 1
110-
# TODO(mhauru) How do we figure out isva? I don't think it's in ir or mi, see above
111-
# prints.
109+
# TODO(mhauru) How should we figure out isva? I don't think it's in ir or mi.
112110
isva = false
113111
propagate_inbounds = true
114112
spec_info = CC.SpecInfo(nargs, isva, propagate_inbounds, nothing)

0 commit comments

Comments
 (0)