Skip to content

Commit c83a8ab

Browse files
committed
Feature(compiler): Use int1 for boolean, not int8
1 parent a90ef77 commit c83a8ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend/llvm/native-type-resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class NativeTypeResolver {
2424

2525
if ((<any>type).intrinsicName === 'boolean') {
2626
return new NativeType(
27-
llvm.Type.getInt8Ty(
27+
llvm.Type.getInt1Ty(
2828
ctx.llvmContext
2929
)
3030
);

0 commit comments

Comments
 (0)