Skip to content

Commit d363535

Browse files
committed
Fix broken use of Int8 as boolean in codegen test
0737032 was pushed straight to master without going through CI or even local testing
1 parent d040151 commit d363535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/codegen.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# tests for codegen and optimizations
44

55
const opt_level = Base.JLOptions().opt_level
6-
const coverage = Base.JLOptions().code_coverage || Base.JLOptions().malloc_log
6+
const coverage = Bool(Base.JLOptions().code_coverage) || Bool(Base.JLOptions().malloc_log)
77
const Iptr = sizeof(Int) == 8 ? "i64" : "i32"
88

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

0 commit comments

Comments
 (0)