Add system module with System class, core native exception helper and remove useless builtins
Build / AerScript (push) Successful in 50s

This commit is contained in:
2026-11-24 09:34:27 +01:00
parent cb894f66fd
commit 1db842fe0f
20 changed files with 1050 additions and 1145 deletions
+6 -5
View File
@@ -1648,11 +1648,12 @@ typedef struct {
* [SXERR_ABORT]. The comparator's original status decides what the builtin
* hands back to the VM call machinery: an exception value stored into the
* result slot plus PH7_EXCEPTION [the VM moves that copy into the throw
* transfer and unwinds to catch/finally], or plain PH7_ABORT for exit() or a
* fatal raised inside the comparator. The pending carrier is released exactly
* once here. iPendingRC == 0 means nothing was pending: internal comparators
* [flags, keys, random] never invoke user code and never fill it, and the
* FALSE return is kept as a defensive fallback for them. The same fallback
* transfer and unwinds to catch/finally], or plain PH7_ABORT for an abort
* request [System::Exit()] or a fatal raised inside the comparator. The
* pending carrier is released exactly once here. iPendingRC == 0 means nothing
* was pending: internal comparators [flags, keys, random] never invoke user
* code and never fill it, and the FALSE return is kept as a defensive fallback
* for them. The same fallback
* also catches any THIRD status PH7_VmCallUserFunction could report beyond
* PH7_EXCEPTION/PH7_ABORT [iPendingRC != 0 but neither known value]: every
* call site pre-checks callability and reachable call failures abort, so no