From 4230946e6a48a94e40b117d24397f2787f950f45 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 1 Oct 2020 22:49:31 -0700 Subject: 6925 - tile: don't try to print escape sequences --- apps/mu.subx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'apps/mu.subx') diff --git a/apps/mu.subx b/apps/mu.subx index 590fa595..5b8418d9 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -13500,7 +13500,7 @@ $check-mu-numberlike-output:check-int: # if t is an int, return (is-simple-mu-type? %esi 1) # int => eax 3d/compare-eax-and 0/imm32/false - 75/jump-if-!= $check-mu-numberlike-output:end/disp8 + 0f 85/jump-if-!= $check-mu-numberlike-output:end/disp32 $check-mu-numberlike-output:check-float: # if t is a float, return (is-simple-mu-type? %esi 0xf) # float => eax @@ -13516,6 +13516,16 @@ $check-mu-numberlike-output:check-byte: (is-simple-mu-type? %esi 8) # byte => eax 3d/compare-eax-and 0/imm32/false 75/jump-if-!= $check-mu-numberlike-output:end/disp8 +$check-mu-numberlike-output:check-code-point: + # if t is a code-point, return + (is-simple-mu-type? %esi 0xd) # code-point => eax + 3d/compare-eax-and 0/imm32/false + 75/jump-if-!= $check-mu-numberlike-output:end/disp8 +$check-mu-numberlike-output:check-grapheme: + # if t is a grapheme, return + (is-simple-mu-type? %esi 0xe) # grapheme => eax + 3d/compare-eax-and 0/imm32/false + 75/jump-if-!= $check-mu-numberlike-output:end/disp8 e9/jump $check-mu-numberlike-output:fail/disp32 $check-mu-numberlike-output:end: # . restore registers -- cgit 1.4.1-2-gfad0