Skip to content

Commit

Permalink
Fix broken use of Int8 as boolean in codegen test (JuliaLang#22506)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman authored and KristofferC committed Jun 24, 2017
1 parent d93b163 commit 2c93acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/codegen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# tests for codegen and optimizations

const opt_level = Base.JLOptions().opt_level
const coverage = Base.JLOptions().code_coverage || Base.JLOptions().malloc_log
const coverage = (Base.JLOptions().code_coverage > 0) || (Base.JLOptions().malloc_log > 0)
const Iptr = sizeof(Int) == 8 ? "i64" : "i32"

# `_dump_function` might be more efficient but it doesn't really matter here...
Expand Down

0 comments on commit 2c93acf

Please sign in to comment.