File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ function replace_coretypes!(src; rev::Bool=false)
369
369
return src
370
370
end
371
371
372
- function replace_coretypes_list! (list:: AbstractVector ; rev:: Bool )
372
+ function replace_coretypes_list! (list:: AbstractVector ; rev:: Bool = false )
373
373
function rep (@nospecialize (x), rev:: Bool )
374
374
if rev
375
375
isa (x, SSAValue) && return Core. SSAValue (x. id)
@@ -379,9 +379,9 @@ function replace_coretypes_list!(list::AbstractVector; rev::Bool)
379
379
isa (x, Core. SSAValue) && return SSAValue (x. id)
380
380
isa (x, Core. SlotNumber) && return SlotNumber (x. id)
381
381
@static if VERSION ≥ v " 1.10.0-DEV.631"
382
- isa (x, Core. TypedSlot) && return SlotNumber (x. id)
383
- else
384
382
isa (x, Core. Compiler. TypedSlot) && return SlotNumber (x. id)
383
+ else
384
+ isa (x, Core. TypedSlot) && return SlotNumber (x. id)
385
385
end
386
386
return x
387
387
end
You can’t perform that action at this time.
0 commit comments