File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 104104# Run type inference and constant propagation on the ir. Credit to @oxinabox:
105105# https://gist.github.com/oxinabox/cdcffc1392f91a2f6d80b2524726d802#file-example-jl-L54
106106function __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 )
You can’t perform that action at this time.
0 commit comments