diff options
| author | gingerBill <bill@gingerbill.org> | 2025-02-20 18:47:41 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2025-02-20 18:47:41 +0000 |
| commit | bf9f2e43bf46cc1898352fceb8ee90660dafbcac (patch) | |
| tree | e3b799ea400316f7ab4c31b0f0e65368d7007881 | |
| parent | e8c38e74274b57a5de71d983ce9231bb7d27458e (diff) | |
Fix typeid size in LLVM
| -rw-r--r-- | src/llvm_backend_general.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_general.cpp b/src/llvm_backend_general.cpp index 49e2ba9e8..94a9023d1 100644 --- a/src/llvm_backend_general.cpp +++ b/src/llvm_backend_general.cpp @@ -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); |