From 888b4cd8eabff44ad10954f26bd4df4497e28617 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 7 May 2021 21:04:45 -0700 Subject: always check for null in 'index' instructions --- 313index-bounds-check.subx | 3 +++ 1 file changed, 3 insertions(+) (limited to '313index-bounds-check.subx') diff --git a/313index-bounds-check.subx b/313index-bounds-check.subx index de9642fd..4bc8e12e 100644 --- a/313index-bounds-check.subx +++ b/313index-bounds-check.subx @@ -58,5 +58,8 @@ __check-mu-array-bounds:overflow: } # never gets here +__mu-abort-null-index-base-address: + (abort "null address in 'index'") + __mu-abort-null-get-base-address: (abort "null address in 'get'") -- cgit 1.4.1-2-gfad0