From 925fc490d2ce8b8d411de87bd0af5b3a8a704213 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 8 Jul 2019 01:05:23 -0700 Subject: . Be more consistent about names of ends of a slice. --- subx/072slice.subx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'subx/072slice.subx') 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 -- cgit 1.4.1-2-gfad0