about summary refs log tree commit diff stats
path: root/313index-bounds-check.subx
diff options
context:
space:
mode:
Diffstat (limited to '313index-bounds-check.subx')
-rw-r--r--313index-bounds-check.subx8
1 files changed, 2 insertions, 6 deletions
diff --git a/313index-bounds-check.subx b/313index-bounds-check.subx
index 4bc8e12e..b6a64876 100644
--- a/313index-bounds-check.subx
+++ b/313index-bounds-check.subx
@@ -33,9 +33,7 @@ __check-mu-array-bounds:  # index: int, elem-size: int, arr-size: int, function-
     (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 " is too large for array '" 3 0)  # 3=cyan
     (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 *(ebp+0x18) 3 0)  # 3=cyan
     (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "'" 3 0)  # 3=cyan
-    {
-      eb/jump loop/disp8
-    }
+    (abort "")
     # never gets here
 $__check-mu-array-bounds:end:
     # . restore registers
@@ -53,9 +51,7 @@ __check-mu-array-bounds:overflow:
     (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 ": offset to array '" 3 0)  # 3=cyan
     (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 *(ebp+0x18) 3 0)  # 3=cyan
     (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "' overflowed 32 bits" 3 0)  # 3=cyan
-    {
-      eb/jump loop/disp8
-    }
+    (abort "")
     # never gets here
 
 __mu-abort-null-index-base-address: