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 17:02:09 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-08 17:02:09 -0700
commit476049a09da496c265e5a9b24466da1b28d66ef6 (patch)
treed0168f2da7b3b33b45eb6bae0e6cd6f22a868ab3 /subx/072slice.subx
parentfe77a29e6a365427c2ff780d5f559e227033ad8e (diff)
downloadmu-476049a09da496c265e5a9b24466da1b28d66ef6.tar.gz
.
Be more consistent about names of ends of a slice.
(In the opposite direction compared to last night's 925fc490d2ce8b8d411de87bd0af5b3a8a704213.)
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 82c512e9..e568fbae 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/limit
-    68/push  34/imm32/curr
+    68/push  34/imm32/end
+    68/push  34/imm32/start
     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/limit
-    68/push  34/imm32/curr
+    68/push  23/imm32/end
+    68/push  34/imm32/start
     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/limit
-    68/push  0/imm32/curr
+    68/push  0/imm32/end
+    68/push  0/imm32/start
     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/limit
-    68/push  0/imm32/curr
+    68/push  0/imm32/end
+    68/push  0/imm32/start
     89/copy                         3/mod/direct    1/rm32/ECX    .           .             .           4/r32/ESP   .               .                 # copy ESP to ECX
     # EAX = slice-equal?(ECX, "")
     # . . push args