Skip to content

Commit

Permalink
Merge pull request #27086 from JuliaLang/kf/fixcodegen
Browse files Browse the repository at this point in the history
[NewOptimizer] Fix codegen test
  • Loading branch information
Keno authored May 12, 2018
2 parents 39cbbc2 + 8bc794d commit 2a21849
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/codegen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ end
function test_jl_dump_compiles_toplevel_thunks()
tfile = tempname()
io = open(tfile, "w")
# Make sure to cause compilation of the eval function
# before calling it below.
Core.eval(Main, Any[:(nothing)][1])
topthunk = Meta.lower(Main, :(for i in 1:10; end))
ccall(:jl_dump_compiles, Cvoid, (Ptr{Cvoid},), io.handle)
Core.eval(Main, topthunk)
Expand Down

2 comments on commit 2a21849

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan

Please sign in to comment.