Skip to content

Commit ee77606

Browse files
committed
fix type error
1 parent 6d6d277 commit ee77606

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

SnoopCompileCore/src/snoopi_deep.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ end
8383

8484
function finish_snoopi_deep()
8585
# TODO(ISSUE): Update to a new API, which just directly returns this vector.
86-
children = [InferenceTimingNode(tree) for tree in Core.Compiler.Timings.clear_and_fetch_timings()]
87-
stop_time = Core.Compiler.Timings._time_ns()
86+
children = Core.Compiler.Timings.clear_and_fetch_timings()
8887
root = Core.Compiler.Timings.Timing(
8988
# The MethodInstance for ROOT(), and default empty values for other fields.
9089
Core.Compiler.Timings.InferenceFrameInfo(
@@ -95,7 +94,7 @@ function finish_snoopi_deep()
9594
0,
9695
0,
9796
children,
98-
)
97+
)
9998
return InferenceTimingNode(root)
10099
end
101100

0 commit comments

Comments
 (0)