Skip to content

Commit 580ea70

Browse files
authored
get rid of unused function
1 parent f50a0ae commit 580ea70

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/types.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,6 @@ Return the deepest callee in the call stack.
175175
"""
176176
leaf(frame) = traverse(callee, frame)
177177

178-
function truncate!(frame)
179-
frame0 = frame
180-
frame = frame.callee
181-
while frame !== nothing
182-
frame.caller.callee = nothing
183-
recycle(frame)
184-
frame = frame.callee
185-
end
186-
return frame0
187-
end
188-
189178
function Base.show(io::IO, frame::Frame)
190179
frame_loc = CodeTracking.replace_buildbot_stdlibpath(repr(scopeof(frame)))
191180
println(io, "Frame for ", frame_loc)

0 commit comments

Comments
 (0)