behavior: get more test cases passing with llvm
This commit is contained in:
committed by
Andrew Kelley
parent
c8b0d4d149
commit
2d5bc01469
@@ -957,7 +957,7 @@ pub fn genTypedValue(
|
||||
}
|
||||
},
|
||||
.Bool => {
|
||||
return GenResult.mcv(.{ .immediate = @boolToInt(typed_value.val.toBool(mod)) });
|
||||
return GenResult.mcv(.{ .immediate = @boolToInt(typed_value.val.toBool()) });
|
||||
},
|
||||
.Optional => {
|
||||
if (typed_value.ty.isPtrLikeOptional(mod)) {
|
||||
|
||||
Reference in New Issue
Block a user