Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Replace malloc calls regardless of Julia version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanvdc committed Jun 17, 2019
1 parent 560daa0 commit 29d30f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/optim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ function optimize!(job::CompilerJob, mod::LLVM.Module, entry::LLVM.Function)

run!(pm, mod)
end
replace_malloc!(mod, job.malloc)
end
replace_malloc!(mod, job.malloc)

# PTX-specific optimizations
ModulePassManager() do pm
Expand Down

0 comments on commit 29d30f9

Please sign in to comment.