From c0ea27e40eeb57d6b414735239a10a3804769aeb Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 16 Sep 2020 08:45:43 -0700 Subject: 6784 --- apps/rpn.mu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/rpn.mu b/apps/rpn.mu index 5e2fdbb6..bd0d721f 100644 --- a/apps/rpn.mu +++ b/apps/rpn.mu @@ -61,7 +61,7 @@ fn simplify in: (addr stream byte) -> result/eax: int { var word/ecx: (addr slice) <- address word-storage var stack-storage: int-stack var stack/esi: (addr int-stack) <- address stack-storage - initialize-stack stack, 0x10 + initialize-int-stack stack, 0x10 $simplify:word-loop: { next-word in, word var done?/eax: boolean <- slice-empty? word @@ -109,7 +109,7 @@ fn simplify in: (addr stream byte) -> result/eax: int { result <- pop-int-stack stack } -fn initialize-stack _self: (addr int-stack), n: int { +fn initialize-int-stack _self: (addr int-stack), n: int { var self/esi: (addr int-stack) <- copy _self var d/edi: (addr handle array int) <- get self, data populate d, n -- cgit 1.4.1-2-gfad0