mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-13 03:27:44 -04:00
Fallback to the pre-split bounds check handlers when the runtime lacks the new ones
This commit is contained in:
1 parent
0f991097d8
commit
9672dca06d
2 files changed
+22
-5
No files matched your search
@@ -3481,6 +3481,13 @@ gb_internal void generate_minimum_dependency_set(Checker *c, Entity *start) {
|
||||
str_lit("slice_expr_error_lo_hi_with_context"),
|
||||
str_lit("multi_pointer_slice_expr_error_contextless"),
|
||||
str_lit("multi_pointer_slice_expr_error_with_context"),
|
||||
|
||||
// Runtimes from before the `contextless`/`with_context` split
|
||||
str_lit("bounds_check_error"),
|
||||
str_lit("matrix_bounds_check_error"),
|
||||
str_lit("slice_expr_error_hi"),
|
||||
str_lit("slice_expr_error_lo_hi"),
|
||||
str_lit("multi_pointer_slice_expr_error"),
|
||||
);
|
||||
|
||||
FORCE_ADD_RUNTIME_ENTITIES(c->info.objc_class_implementations.count.load(std::memory_order_relaxed) > 0,
|
||||
|
||||
Reference in new issue
Block a user