diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-19 15:34:29 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-19 15:34:29 +0000 |
| commit | 9a2fc6cf4c8b4434ae45170953b77b3239120fea (patch) | |
| tree | a955d0891bea9269d2ff3483127ed100c176bef3 /src/llvm_backend.cpp | |
| parent | 8ff788f4fff7504b8b6bca1183a9be98b8765cbc (diff) | |
Serialize errors to make them sortable, deterministic, and generally more control
Diffstat (limited to 'src/llvm_backend.cpp')
| -rw-r--r-- | src/llvm_backend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index ca4341525..b8ee7e7fa 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -3021,7 +3021,7 @@ gb_internal bool lb_generate_code(lbGenerator *gen) { } } - gb_sort_array(gen->foreign_libraries.data, gen->foreign_libraries.count, foreign_library_cmp); + array_sort(gen->foreign_libraries, foreign_library_cmp); return true; } |