From df781efa7db58e5cc7f81d7261929a4fbd956d94 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 16 Feb 2020 20:14:32 -0800 Subject: 6011 --- apps/mu | Bin 133440 -> 133450 bytes apps/mu.subx | 8 +++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/mu b/apps/mu index c11ce01e..29e0f145 100755 Binary files a/apps/mu and b/apps/mu differ diff --git a/apps/mu.subx b/apps/mu.subx index 8765e5f9..c87fd16d 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -2090,11 +2090,9 @@ $parse-var-with-type:save-register: # if (!slice-empty?(s)) v->register = slice-to-string(s) { $parse-var-with-type:write-register: - # HACK: s->end can be less than s->start with all the decrements above - # That's probably a sign we have the wrong algorithm for this function. - 8b/-> *ecx 0/r32/eax - 39/compare *(ecx+4) 0/r32/eax # Slice-end - 76/jump-if-<= break/disp8 + (slice-empty? %ecx) # => eax + 3d/compare-eax-and 0/imm32/false + 75/jump-if-!= break/disp8 (slice-to-string Heap %ecx) 89/<- *(edi+0x10) 0/r32/eax # Var-register } -- cgit 1.4.1-2-gfad0