diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-16 13:24:20 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-16 13:24:20 +0200 |
| commit | 0d12432d3fa3fa3727a24973a9aa2bbae5ab9068 (patch) | |
| tree | 4ce3380a8456cd69f4892ec2dd387b76109f2f55 /src/llvm_backend_debug.cpp | |
| parent | 6d7df6f335ad402b327830277168c3cb1e0ef011 (diff) | |
VS: Fix compilation using VS 2022.
Diffstat (limited to 'src/llvm_backend_debug.cpp')
| -rw-r--r-- | src/llvm_backend_debug.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp index 703362957..1a540cd33 100644 --- a/src/llvm_backend_debug.cpp +++ b/src/llvm_backend_debug.cpp @@ -50,8 +50,8 @@ LLVMMetadataRef lb_debug_type_internal_proc(lbModule *m, Type *type) { GB_ASSERT(type != t_invalid); - unsigned const word_size = cast(unsigned)build_context.word_size; - unsigned const word_bits = cast(unsigned)(8*build_context.word_size); + /* unsigned const word_size = cast(unsigned)build_context.word_size; + unsigned const word_bits = cast(unsigned)(8*build_context.word_size); */ GB_ASSERT(type->kind == Type_Proc); unsigned parameter_count = 1; @@ -129,7 +129,7 @@ LLVMMetadataRef lb_debug_type_internal(lbModule *m, Type *type) { GB_ASSERT(type != t_invalid); - unsigned const word_size = cast(unsigned)build_context.word_size; + /* unsigned const word_size = cast(unsigned)build_context.word_size; */ unsigned const word_bits = cast(unsigned)(8*build_context.word_size); switch (type->kind) { @@ -564,7 +564,7 @@ LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) { } void lb_debug_complete_types(lbModule *m) { - unsigned const word_size = cast(unsigned)build_context.word_size; + /* unsigned const word_size = cast(unsigned)build_context.word_size; */ unsigned const word_bits = cast(unsigned)(8*build_context.word_size); for_array(debug_incomplete_type_index, m->debug_incomplete_types) { |