mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 19:19:53 -04:00
Fix typeid size in LLVM
This commit is contained in:
1 parent
e8c38e7427
commit
bf9f2e43bf
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user