about summary refs log tree commit diff stats
path: root/subx/072slice.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-08 01:05:23 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-08 01:05:23 -0700
commit925fc490d2ce8b8d411de87bd0af5b3a8a704213 (patch)
treecf565adebb4d7343d95d3a5ef18de1f21f28cad9 /subx/072slice.subx
parente5cffe30ed38fbbdc74c63d0a94ab2a93713e43d (diff)
downloadmu-925fc490d2ce8b8d411de87bd0af5b3a8a704213.tar.gz
.
Be more consistent about names of ends of a slice.
Diffstat (limited to 'subx/072slice.subx')
-rw-r--r--subx/072slice.subx16
1 files changed, 8 insertions, 8 deletions
diff --git a/subx/072slice.subx b/subx/072slice.subx
index e568fbae..82c512e9 100644
--- a/subx/072slice.subx
+++ b/subx/072slice.subx
@@ -35,8 +35,8 @@ test-slice-empty-true:
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # var slice/ECX = {34, 34}
-    68/push  34/imm32/end
-    68/push  34/imm32/start
+    68/push  34/imm32/limit
+    68/push  34/imm32/curr
     89/copy                         3/mod/direct    1/rm32/ECX    .           .             .           4/r32/ESP   .               .                 # copy ESP to ECX
     # slice-empty?(slice)
     # . . push args
@@ -64,8 +64,8 @@ test-slice-empty-false:
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # var slice/ECX = {34, 23}
-    68/push  23/imm32/end
-    68/push  34/imm32/start
+    68/push  23/imm32/limit
+    68/push  34/imm32/curr
     89/copy                         3/mod/direct    1/rm32/ECX    .           .             .           4/r32/ESP   .               .                 # copy ESP to ECX
     # slice-empty?(slice)
     # . . push args
@@ -326,8 +326,8 @@ test-slice-equal-empty:
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # var slice/ECX
-    68/push  0/imm32/end
-    68/push  0/imm32/start
+    68/push  0/imm32/limit
+    68/push  0/imm32/curr
     89/copy                         3/mod/direct    1/rm32/ECX    .           .             .           4/r32/ESP   .               .                 # copy ESP to ECX
     # EAX = slice-equal?(ECX, "Abc")
     # . . push args
@@ -393,8 +393,8 @@ test-slice-equal-empty-with-empty:
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # var slice/ECX
-    68/push  0/imm32/end
-    68/push  0/imm32/start
+    68/push  0/imm32/limit
+    68/push  0/imm32/curr
     89/copy                         3/mod/direct    1/rm32/ECX    .           .             .           4/r32/ESP   .               .                 # copy ESP to ECX
     # EAX = slice-equal?(ECX, "")
     # . . push args