Skip to content

Commit

Permalink
Fix typeid size in LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill committed Feb 20, 2025
1 parent e8c38e7 commit bf9f2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llvm_backend_general.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ gb_internal LLVMTypeRef lb_type_internal(lbModule *m, Type *type) {
return type;
}

case Basic_typeid: return LLVMIntTypeInContext(m->ctx, 8*cast(unsigned)build_context.ptr_size);
case Basic_typeid: return LLVMIntTypeInContext(m->ctx, 64);

// Endian Specific Types
case Basic_i16le: return LLVMInt16TypeInContext(ctx);
Expand Down

0 comments on commit bf9f2e4

Please sign in to comment.