Skip to content

Commit 887764b

Browse files
committed
Revert changes to src.slottypes
1 parent 2b0f545 commit 887764b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CthulhuBase.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ function lookup_unoptimized(interp::CthulhuInterpreter, ci::CodeInstance)
222222
(; rt, exct) = unopt
223223
infos = unopt.stmt_info
224224
effects = unopt.effects
225+
slottypes = src.slottypes
225226
if isnothing(src.slottypes)
226-
src.slottypes = Any[ Any for i = 1:length(src.slotflags) ]
227+
slottypes = Any[ Any for i = 1:length(src.slotflags) ]
227228
end
228-
slottypes = src.slottypes
229229
return LookupResult(src, rt, exct, infos, slottypes, effects, codeinf)
230230
end
231231

0 commit comments

Comments
 (0)