Commit Graph
8 Commits
Author SHA1 Message Date
Barinzaya 8075b343c5 Split bounds check handlers into contextless and with_context.
When a `context` is available, the `with_context` variant will be called
and the `context.assertion_failure_proc` will be called, instead of
forcibly trapping. This allows bounds check errors able to be handled by
custom assertion failure procs.
2026-10-06 09:45:36 -04:00
gingerBill 7135bbdd67 Rename try_copy_* to write_* 2026-01-28 11:54:17 +00:00
gingerBill b85f29d979 Rename to type_assertion_trap_contextless 2026-01-26 18:31:04 +00:00
gingerBill 96f1069e4a Fix type_assertion_check2* for -no-rtti 2026-01-26 18:29:39 +00:00
gingerBill 3586bda6ae Use context.assertion_failure_proc with type assertions when the context is available, otherwise use a trivial trap. 2026-01-26 18:23:29 +00:00
Laytan Laats 8455e159f5 improve orca target 2024-06-05 20:57:39 +02:00
gingerBill 5c52f3cf2f Add ODIN_NO_BOUNDS_CHECK 2024-04-18 11:13:44 +01:00
gingerBill 09fa1c29cd Move core:runtime to base:runtime; keep alias around 2024-01-28 21:05:53 +00:00