diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-17 18:14:43 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-17 18:16:26 -0800 |
commit | 1696ed831a99585c22701953790c5c8e4ef7f8f3 (patch) | |
tree | 6381ba382399f8a453536a18ad1c280c66818d39 /mu.md | |
parent | 83221b4e21ec4cc8996362472987a49552df1e0b (diff) | |
download | mu-1696ed831a99585c22701953790c5c8e4ef7f8f3.tar.gz |
7261 - mu.subx: array bounds-checking done
Diffstat (limited to 'mu.md')
-rw-r--r-- | mu.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mu.md b/mu.md index 8c5975e7..ba0c8b66 100644 --- a/mu.md +++ b/mu.md @@ -681,7 +681,7 @@ populate x, 3 # array of 3 T's I said at the start that most instructions map 1:1 to x86 machine code. To enforce type- and memory-safety, I was forced to carve out a few exceptions: -* the `index` instruction on arrays, for bounds-checking (not yet implemented) +* the `index` instruction on arrays, for bounds-checking * the `length` instruction on arrays, for translating the array size in bytes into the number of elements. * the `lookup` instruction on handles, for validating fat-pointer metadata |