@@ -219,10 +219,10 @@ function Cthulhu.navigate(curs::ADCursor, callsite::Cthulhu.Callsite)
219
219
return ADCursor (curs. level, Cthulhu. get_mi (callsite))
220
220
end
221
221
222
- function Cthulhu. process_info (interp:: ADInterpreter , @nospecialize (info:: CC.CallInfo ), argtypes:: Cthulhu.ArgTypes , @nospecialize (rt), optimize:: Bool )
222
+ function Cthulhu. process_info (interp:: ADInterpreter , @nospecialize (info:: CC.CallInfo ), argtypes:: Cthulhu.ArgTypes , @nospecialize (rt), optimize:: Bool , @nospecialize (exct) )
223
223
if isa (info, RecurseInfo)
224
224
newargtypes = argtypes[2 : end ]
225
- callinfos = Cthulhu. process_info (interp, info. info, newargtypes, Cthulhu. unwrapType (widenconst (rt)), optimize)
225
+ callinfos = Cthulhu. process_info (interp, info. info, newargtypes, Cthulhu. unwrapType (widenconst (rt)), optimize, exct )
226
226
if length (callinfos) == 1
227
227
vmi = only (callinfos)
228
228
else
@@ -234,7 +234,7 @@ function Cthulhu.process_info(interp::ADInterpreter, @nospecialize(info::CC.Call
234
234
return Any[RecurseCallInfo (vmi)]
235
235
elseif isa (info, RRuleInfo)
236
236
newargtypes = [Const (rrule); argtypes[2 : end ]]
237
- callinfos = Cthulhu. process_info (interp, info. info, newargtypes, Cthulhu. unwrapType (widenconst (rt)), optimize)
237
+ callinfos = Cthulhu. process_info (interp, info. info, newargtypes, Cthulhu. unwrapType (widenconst (rt)), optimize, exct )
238
238
if length (callinfos) == 1
239
239
vmi = only (callinfos)
240
240
else
0 commit comments